Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.2.2f1
2023.1.0a25
2023.2.0a1
2023.3.0a3
Issue ID
UUM-24690
Regression
Yes
NullReferenceException thrown in certain editor layouts when selecting a Prefab in the scene
Reproduction steps:
1. Open project “HDRBug”
2. Open scene “SampleScene”
3. Make sure the layout of the Editor looks like the attached “Screenshot 2023-01-11 164123” screenshot
4. Select the “Circle” GameObject in the scene
5. Click on the “Select” button next to “Prefab” in the Inspector window
Expected result: no error is thrown
Actual result: “NullReferenceException: Object reference not set to an instance of an object“ is thrown in the Console log
Reproducible with: 2022.1.0b1, 2022.2.2f1, 2023.1.0a26
Not reproducible with: 2021.3.16f1, 2022.1.0a16, 2023.1.6f1, 2023.2.0b1
Couldn’t test with: 2020.3.44f1 (due to compiler errors)
Fixed version: 2023.1.0b1
Reproducible on: Catalina 10.15.7 (Intel)
Note: the issue reproduces only in certain editor layouts, the attached “IN-28510” screenshot layout provides expected results
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
- Editor Perforce login fails when Perforce shows a license expiry warning
- Assertion failed error in HDRP builds when enabling STP via script
- FBX Resamples Curves incorrectly when importing FBX files
- ProBuilder GameObject Faces disappear when increasing the Sides Count value
- FileUtil.CopyFileOrDirectory throws IOException when destination parent folder does not exist
Resolution Note:
Cannot repro on latest versions. Reproing it from the get go seemed really difficult (needed a specific layout). Lots of fixes have landed in the Layout system these days.