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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.