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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2023.1.0a9):
Fixed in: 2023.1.0a9
Resolution Note (fix version 2022.2.0b8):
Fixed in: 2022.2.0b8