Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.1f1
Issue ID
847668
Regression
No
Changing scripts order in the Script Execution Order throws NullReferenceExpection
Reproduction steps:
1. Open the attached project ( KpyTou project with bugs hehe.zip);
2. Open "Script Edition Order" in inspector (Edit -> Project Settings -> Script Execution Order);
3. Change the value of TerrestrialPursuer class, for instance, to 80;
4. Enter the play mode without pressing the "Apply" button in the Inspector;
5. Before the start of the scene, a warning will be shown. Press "Apply" in this messageBox;
6. Observe the errors in the console which show that the variables were reset.
7. Close the play mode by pressing the Play button;
8. Change the value of TerrestrialPursuer class again and apply it in the Inspector;
9. Observe the console - the errors do not appear.
Expected result: Applying the different order should work either way - in the Inspector and in the messageBox;
Actual result: Function is working unevenly and throws errors in the console.
Reproduced on:
5.4.1f1, 5.5.0b11, 5.6.0a2.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #830711