Search Issue Tracker

In Progress

Votes

1

Found in

2023.2.20f1

6000.0.0f1

Issue ID

UUM-70746

Regression

Yes

NullReferenceException is thrown when changing the Inspector preview selection

--

-

How to reproduce:
1. Open the “PreviewSelector.zip“ project
2. Open the “SampleScene“
3. Select the “Test“ GameObject
4. Click on “TestPreview1“ above the preview window
5. Select the “TestPreview2“ from the list of available previews
6. Observe the Console

Expected results: No errors are thrown and the chosen preview is selected
Actual results: “NullReferenceException“ error is thrown and the “TestPreview1“ gets always selected by default

Reproducible in: 2023.2.16f1, 2023.2.20f1, 6000.0.0b12, 6000.0.0f1
Not reproducible in: 2021.3.37f1, 2022.3.26f1, 2023.2.15f1, 6000.0.0b11

Reproduced on: Windows 11 Pro (23H2), macOS 14.4.1 23E224 Darwin 23.4.0 (by the reporter)
Not reproduced on: No other environment tested

Note: Reproducible if the default preview “TestPreview1“ is selected from the available previews too

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.