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

Crash when adding or removing animation from Blender #95080

Closed
Hilderin opened this issue Aug 2, 2024 · 0 comments · Fixed by #95084
Closed

Crash when adding or removing animation from Blender #95080

Hilderin opened this issue Aug 2, 2024 · 0 comments · Fixed by #95084

Comments

@Hilderin
Copy link
Contributor

Hilderin commented Aug 2, 2024

Tested versions

Reproductible in 4.3 rc2
Reproductible in 4.3 master

System information

Godot v4.3.rc2 - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 (NVIDIA; 32.0.15.6070) - 11th Gen Intel(R) Core(TM) i5-11600KF @ 3.90GHz (12 Threads)

Issue description

When adding or removing an animation in a .blend file, when reimporting, Godot crashes.
Adding does not causes the problem every time, but removing causes the problem almost every time.

One example of the crash when removing an animation:
image

image

A second example when removing:
image

A example when adding an animation:
image

A second example when adding an animation:
image

Demonstration:

blender_0Q1rlNR1FU.mp4

Steps to reproduce

When removing animations:

  • Create 2 animations in Blender
  • Import blender file in Godot
  • Remove one animation in Blender (from the Blender File > Actions), save
  • Go back to the editor
  • The animation is still there or the editor will crash

When adding animations:

  • Create a new animation in Blender
  • Import blender file in Godot
  • Add a new animation in Blender (from the Blender File > Actions), save
  • Go back to the editor
  • The editor will crash

EDITED: The problem seems to happen only when the "Editable children" is enabled. Probably related, when reopening the scene, I got these warnings:

scene\resources\packed_scene.cpp:254 - Node 'TestModel/metarig' was modified from inside an instance, but it has vanished.
scene\resources\packed_scene.cpp:179 - Parent path './TestModel/metarig' for node 'Skeleton3D' has vanished when instantiating: 'res://TestScene.tscn'.
scene\resources\packed_scene.cpp:254 - Node './Skeleton3D' was modified from inside an instance, but it has vanished.

Minimal reproduction project (MRP)

test-godot-import-animation-blender.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Release Blocker
Development

Successfully merging a pull request may close this issue.

2 participants