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
AnimationPlayer keyframing: object was freed while signal is being emitted from it. #70058
Comments
I could reproduce the error on #69829, I took me about 15 tries of keyframing on moving and rotating the mesh |
Sorry, what I want you to test is #69834. If you can build it. |
While that, I just reproduced the same error following the steps of creating the day-night-cyle on a Click to see the report
|
Steps I used to Reproduce
If you do it fast enough it'll crash. |
Thanks for testing. Your explanation clarified the reproduction procedure. It seems that after duplicating a key on a particular track, if I move the timeline and try to key that track from its properties, it crashes. For example, if you insert a Node2D Rotation key at 0s, duplicate that key to 0.5s, then move the cursor position in the timeline to 1.0s and try to insert the Rotation key from the inspector property key button, it crashes. I have tried fix #69834, but it does not completely fix this problem since the inspector still behaves strangely, you are right. I will look into it later and try to fix it. |
Godot version
4.0.beta8.official [45cac42]
System information
Windows 10
Issue description
I am implementing a day-night cycle, and sometimes the engine crashes when I keyframe a WorldEnvironment or a DirectionalLight3D property. To workaround this for every property I keyframe I save the scene.
Steps to reproduce
If you keep keyframing without saving, it'll eventually happen. Since it happens too fast I had to try reproducing a few times until I could screenshot this error on the console before the engine closes.
Also it seems like when you want to reproduce it doesn't happen, only when you are not expecting.
Minimal reproduction project
ThirdPersonMover.zip
The text was updated successfully, but these errors were encountered: