Search Issue Tracker
Fixed
Fixed in 2022.2.0b8, 2023.1.0a9
Votes
0
Found in
2022.2.0a15
2023.1.0a1
Issue ID
UUM-3996
Regression
Yes
Emitted GameObjects throw "NullReferenceException" errors and "Script has not finished compilation yet" log after recompilation
How to reproduce:
1. Open project "Clean 2022.2.zip"
2. In the Hierarchy window select "GameObject" GameObject
3. In the Project window select the "NewBehaviourScript" script and reimport it
4. In the Hierarchy window select "GameObject" GameObject and observe the Console window
Expected result: No errors or logs
Actual result: "NullReferenceException: Object reference not set to an instance of an object" errors and "Script has not finished compilation yet. Please wait until compilation of the script has finished and try again" logs appear
Reproducible with: 2022.2.0a3, 2022.2.0a15
Not reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.4f1, 2022.1.3f1, 2022.2.0a2
Reproduced on: macOS 11.6 (Intel)
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
- [Android][Vulkan] Crash on /system/lib/libandroid.so (ANativeWindow_setBuffersGeometry+4) when the Vulkan Graphics API is used
- Event handlers are preventing operations when trying to copy or paste HTML text in the WebGL Player
- [macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress
- Crash on TransformAccessDestroyCallback when removing a URP Decal Projector component from a parent GameObject that had a URP Decal Projector child GameObject
- An added component is being removed form the prefab when reimporting the prefab
Resolution Note (fix version 2023.1.0a9):
Fixed in: 2023.1.0a9
Resolution Note (fix version 2022.2.0b8):
Fixed in: 2022.2.0b8