Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0f3
Issue ID
845512
Regression
No
Unity crashes when more than one queued animation is set to enabled
To reproduce:
1. Extract "QueuedAnimationsCrash.zip".
2. Play "Test" scene.
3. In a Game window press "Crash/errors" or "Crash/errors (with weight)"
4. You should get some state.GetEnabled() errors or a Crash. (the more times you press a button, the higher chance of crashing, but usually crashes on the first click)
Expected result: enabled animations are played.
Actual result: You get state.GetEnabled() errors or a crash.
Reproducible: 5.2.3f1, 5.3.1f1, 5.4.2f2, 5.5.0b11, 5.6.0a2
Crash happens when you try to play queued animations (Animation.PlayQueued with QueueMode.CompleteOthers),
and you set more than 1 animation "enabled = true;".
Crash call stack:
output_l
vsnprintf_l
vsnprintf
VFormat
Format
Animation::CrossFade
Animation::UpdateQueuedAnimations
Animation::UpdateAnimation
AnimationManager::Update
PlayerLoop
Application::UpdateScene
Application::UpdateSceneIfNeeded
Application::TickTimer
FindMonoBinaryToUse
WinMain
strnlen
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment