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
- ":focus" style will not be shown when the UI element is unparented and reparented and the "Focus()" method is called without the "Blur()" method being called
- Crash on BucketAllocator::Allocate when importing TextMeshPro assets
- Playmode dropdown creates continuous "Layout update is struggling" errors at certain aspect ratios
- Editor takes a long time to open VFX Graph 'Subgraph' asset when it is heavily referenced by multiple other VFX Graphs
- "Editor Event Handler Error" error is thrown when using Terrain Tool shortcuts
Resolution Note (fix version 2023.1.0a9):
Fixed in: 2023.1.0a9
Resolution Note (fix version 2022.2.0b8):
Fixed in: 2022.2.0b8