Search Issue Tracker
Fixed in 2023.1.X
Votes
0
Found in
2020.3
2020.3.32f1
2021.2
2022.1
2022.2
Issue ID
1415249
Regression
No
Object cannot be picked from the Object Picker when calling UnityEngine.GUI.FocusControl(null) in custom Editor GUI
Reproduction steps:
1. Open the user's attached project "Object Picker Issue.zip"
2. Select "ObjectWithCustomInspector" in the Hierarchy window
3. Open the Object Picker of the "Example Object Field" in the Inspector.
4. Double click any of the assets (ExampleSO1, ExampleSO2, or ExampleSO3)
Expected result: The selected asset populates the field
Actual result: The field remains empty
Reproducible with: 2020.3.32f1, 2021.2.19f1, 2022.1.0b14, 2022.2.0a9
Could not test with: 2019.4.37f1 (Script compilation errors)
Workaround: Dragging the asset from the Project window to the field in the Inspector window
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
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
- Error “Value cannot be null. Parameter name: key UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)” thrown and Addressables build fails when "Include in Build" is disabled and using Addressables For Android package
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.0a3