-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
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] Segfault while attempting to play() a length-changed animation #403
Comments
nice find, this was a weird bug, it seems it was triggered when playing On Sun, May 11, 2014 at 11:59 AM, bertiebaggio notifications@github.comwrote:
|
will push fixes later tonight On Sun, May 11, 2014 at 1:13 PM, Juan Linietsky reduzio@gmail.com wrote:
|
Excellent thanks! |
close |
Preamble: crash seems to be caused by calling SomeAnimationNode.play("animation", -1, -1, false) to play an animation backwards when that animation has had its length changed.
In my scenario, it was an animation that previously played fine forwards and backwards, but I shortened it to 1 second (from 10s). After this calling play() as above caused the segfault detailed below.
Deleting and re-creating the animation solved the crash. I would speculate it may be related to similar occurences, such as physics bodies not colliding because the associated collision shape has been 'forgotten'; here recreating the shape also solves the issue.
More info available on request.
The text was updated successfully, but these errors were encountered: