Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.1.13f1
2021.1
Issue ID
1293117
Regression
No
"NullReferenceException" when trying to open Object Picker for ScriptableObject variable
Original Reproduction steps:
1. Open attached project "Galactic Wars.zip" and scene "GridArrayTest"
2. In Hierarchy window, select "Game_Manager" GameObject
3. In Inspector window, click on "Grid Config To Load" field's Object Picker
4. Observe Console window
Expected result: No error, Object Picker opens
Actual result: "NullReferenceException" error, Object Picker doesn't open
Reproducible with: 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a9, 2021.2.0a1
Could not test with: 2018.4.30f1
Updated repro steps:
1- Copy the layout file galataic.wlt in <Users>/AppData\Roaming\Unity\Editor-5.x\Preferences\Layouts\default. This will make this layout available for any project
2- Open any project select the galatci layout
3- Click on an property field that should pop an ObjectSelector.
4- See error in console.
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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a5