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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #830711