Search Issue Tracker
Fixed in 1.2.3
Votes
0
Found in [Package]
0.1.1-preview
Issue ID
1195817
Regression
No
[ECS][DOTS] Script re-compilation in Play mode causes "NullReferenceException" errors and crash after Exiting Play mode
Reproduction steps:
1. Open "Bouncy Ball I.zip" project
2. Open any script (AreaAxisComposite.cs)
3. Enter Play mode
4. Write a trivial code line ("public Transform test;")
5. Focus Unity
6. Notice spam of "NullReferenceException" errors
7. Exit Play mode
8. Editor Crashes
Expected Result: Editor doesn't crash/spam errors
Actual Result: Editor crashes/spams errors
Note:
Sometimes the Editor doesn't crash, only spams errors
Sometimes there's no spam of errors, only two, but the editor crashes
Two errors:
"System.InvalidOperationException: Burst compilation can't be switched on while in PlayMode
Loading GameObjectEntity in Playmode but there is no active World"
Reproduced with: 2020.1.0a13, 2019.3.0b11, 2019.2.13f1
Did not reproduce on (Needed Packages are not present): 2018.4.13f1, 2017.4.35f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException is thrown when assigning an Object to a custom DebugUI.ObjectField in Rendering Debugger
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
Add comment