Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reimport Support #12

Open
rsandfield opened this issue Jan 7, 2024 · 1 comment
Open

Reimport Support #12

rsandfield opened this issue Jan 7, 2024 · 1 comment

Comments

@rsandfield
Copy link

When using jigglebones with a blender file, the bone reference breaks on reimport. Locally it looks like splitting the _ready() logic into a separate function and also calling it from on_tree_enter() solves it. The error is as follows:
res://addons/jigglebones/jigglebone.gd:68 - Cannot call method 'get_bone_global_pose' on a previously freed instance.

@amarraff
Copy link

amarraff commented Mar 8, 2024

I'm experiencing this issue with my .glb (glTF) mesh. I reimport frequently when making new animations or mesh alterations, and it happens every time. The only solution is to delete any jiggle bones, re-import, and re-add the jigglebones. Saving a scene containing the reimported asset while this error is printing (it prints endlessly) causes Godot to crash. Happy to see that OP has already found a potential solution.

My Godot version: v4.2.1.stable.official [b09f793f5]

To be clear, this doesn't just occur when the "Reimport" button is clicked. It also happens if you overwrite the mesh's file outside the editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants