Search Issue Tracker

Fixed

Fixed in 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

  1. Resolution Note (fix version 2022.2.20f1):

    Fix by other unknown fix in 2022.2.20f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.