Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.2p2
Issue ID
783821
Regression
Yes
Updating Animator from Event recursively triggers event
I call a method from an AnimationClip event. If I call Animator.Update from inside that method the Animator will re-trigger the event, resulting in a endlessly recusive call and stack overflow. This occurs even if attempting to change the Animator state.
Steps to reproduce:
1. Open attached project's scene "Main".
2. Enter play mode.
3. Select Canvas/"Animation Root" game object.
4. Press "Hide: button under "Animated Object" script
5. Unity gets stuck.
Reproduced with 5.2.0f3, 5.4.0b12.
Does not reproduce on 5.1.4f1 and earlier
Windows 10 64bit
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
- No option to skip video transcoding when launching a Project
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
Add comment