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
- Crash on CheckDeviceStatus when converting materials from built-in to URP and using DX12
- Higher CPU frame time on Android devices with Cortex-A510 efficiency cores (vs Cortex-A55)
- Alt+click on List header does not recursively toggle child foldouts when items use a UI Toolkit CustomPropertyDrawer
- Artifacts are rendered in UITK when using Font Assets and using negative outlines
- Editor hangs when opening Asset picker window for AssetReference and a lot of addresable assets are present in the project
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a5