Search Issue Tracker
Fixed
Fixed in 2022.2.X, 2022.2.20f1
Votes
0
Found in
2022.2.13f1
Issue ID
UUM-32158
Regression
Yes
Error "NullReferenceException: Object reference not set to an instance of an object" thrown when the Scene is changed during Transition Animations
Reproduction steps:
1. Open the attached project ”NullReferenceProject”
2. Enter The Play mode
3. Click on the “Next“ button while the circle is expanding
4. Repeat step 3 until “NullReferenceException: Object reference not set to an instance of an object” appears
Expected result: The Scene is changed
Actual result: Error is thrown when the Scene is changed during the Transition Animations
Reproducible with: 2022.1.0a12, 2022.2.13f1
Not reproducible with: 2021.3.22f1, 2022.1.0a11, 2023.1.0a1, 2023.1.0b10, 2023.2.0a9
Couldn’t test with: 2020.3.46f1 - “error CS0246: The type or namespace name 'UIDocument' could not be found“
Reproducible on: Windows 10
Note: The Player freezes after getting the error
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2022.2):
Fix by other unknown fix in 2022.2.20f1