Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f1
Issue ID
895392
Regression
No
Public variable cannot be updated during playmode if script is attached to Animation State and OnStateUpdate is being used
How to reproduce:
1. Open "StateMachineBehaviour Problem" project
2. Open the Animator window and open "animator test" animation controller
3. Click on "New State" state, notice that it has a "Test State" script attached to it, change its public float variable
4. Enter playmode, and notice that the value is being printed in the console
5. Change the value again without exiting from playmode
Expected result: The value of printed variable changes
Actual result: The value of printed variable doesn't change
Reproducible with - 2017.1.0a5, 5.6.0f2, 5.5.2p3, 5.4.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builders incorrectly informs about a circular dependency when the reference in the second UI Document is removed
- TextMeshPro Text is misaligned when it should align in the "flush" style
- Vehicle body is lifted way above wheels containing a WheelCollider Component when entering Play Mode
- A bright horizontal line appears in Game view while underwater, when the cloud layer is enabled
- [HDRP] Clear coat materials produce screen-space reflections when the clear coat value is 0 in "Forward Only" Lit Shader Mode
Add comment