Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b14
Issue ID
649331
Regression
No
Execution of State Behaviours is wrong
Execution of State Behaviours is wrong
Repro:
1. Open the attached project
2. The Cube controller has 3 scripts attached:
- one on the Layer: LayerBeh
- one on New StateMachine: StateMachBeh
- one on The New Satate (inside the New Statemachine): StateBeh
3. When the Scene is run, the order of the execution is:
Layer-StateEnter (correct, this is the Default state being entered)
State-StateEnter (incorrect, the Layer code should be executed here)
Layer-StateEnter (incorrect, the StateMachine code should be executed here)
StateMachine-StateEnter (incorrect, the State code should be executed here)
The order is: State->Layer->StateMachine
Expected: Layer->StateMachine->State
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
Add comment