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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.2):
Fix by other unknown fix in 2022.2.20f1