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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
This is a duplicate of issue #830711