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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment