Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2020.2
2020.2.0f1
2021.1
Issue ID
1301687
Regression
No
Object picker fails to set selected Object when Array/List is defined before the Object and modified from OnBeforeSerialize
Reproduction steps:
1. Open the user's attached project and SampleScene scene
2. In the Hierarchy window, select TestList GameObject
3. In the Inspector, inside of TestListFails component, make sure that field Some Item is empty and that Items has 0 elements
4. Expand Items field
5. Select Object Picker for Some Item field
6. Select Item1 and observe the name of an Item in the Inspector
7. Select Item2 and observe the name of an Item in the Inspector
Expected result: Name of an Item is Item2
Actual result: Name of an Item is Item1
Reproducible with: 2018.4.19f1, 2019.4.17f1, 2020.2.1f1, 2021.1.0b1
Notes:
1. Only reproducible when Array/List is empty and choosing different Object without closing Object Picker
2. Only reproducible when Array/List is expanded in the Inspector
3. Not reproducible when Array/List is defined and initialized after the Object
4. Not reproducible on Mac
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
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- Module installation fails with "Download failed: Validation Failed" errors when using beta.2 Hub version
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Shader Graph Category dropdown cannot be expanded/collapsed when clicking on the text
- Different text alignment in the column header in Entities "System" window
Resolution Note (2021.2.X):
Edge case related to IMGUI control behaviour. A fix is unlikely in the short to medium term.