Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.5f1
Issue ID
804909
Regression
No
StateMachineBehaviour gets instantiated from a selected prefab in project view which does not exist in the hierarchy
Steps to reproduce:
1. Open users attached project.
2. In project view click on "parent 3" prefab.
3. In toolbar press play button.
4. In console appears "Incorrect call to OnStateEnter" line.
--- This line is written in "testsmb" script which is attached to "test Animator Controller" animator controller which is attached to "Child" object.
Expected result: Console window shows nothing because "parent 3" prefab isn't instantiated.
Actual results: "StateMachineBehavior" instantiated and executes script even though it doesn't exist in hierarchy window.
Reproduced in: 5.4.21b , 5.3.5f1 , 5.3.4f1, 5.0.3f2.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Inspector rounds up float values up to a maximum of 7 digits and overwrites the actual values in the file when saving the asset
- Distant Shadowmask does not cast Shadows on Terrain when baking with Adaptive Probe Volumes
- UI Toolkit Debugger "Text Overlays" dropdown is opened in the wrong position when Dynamic Atlas Viewer is opened
- NullReferenceExceptions are thrown on Editor launch when the Project window was locked in the previous project
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
Add comment