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

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.