Search Issue Tracker
Fixed
Fixed in 2022.2.10f1, 2023.1.0b1
Votes
0
Found in
2022.2.0b3
2023.1.0a4
2023.2.0a6
Issue ID
UUM-11351
Regression
Yes
ProjectBrowser.FrameObject() throws NullReferenceException when selecting an asset in ObjectField and ProjectBrowser is locked and inactive
How to reproduce:
1. Open the user’s attached “Unity ping object bug” project
2. Open the “SampleScene” Scene
3. Select the “Body” GameObject in the Hierarchy
4. Select the “Material”-labeled ObjectField in the Inspector
Expected result: Project Browser opens with an asset selected
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.1.12f1, 2022.2.0b3, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.3.8f1, 2022.1.0a16
Reproduced on: macOS 12.3 (Intel)
*Note*:
Error isn’t thrown after selecting the locked Project Browser
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Metal] "undeclared identifier 'RemapFoveatedRenderingResolve'" error is thrown when compiling a shader
- "NullReferenceException" is logged when adding a visual element to a list using the Item Template setting
- Errors are thrown and the view is not rendered properly when using Overlay Camera with Non-Default 2D Renderer
- Fog density value is not returned when using the Fog node in a sprite Shader Graph
- UI ToolKit ListView does not rebind some of the items when source data changes
Add comment