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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (2021.2.X):
Edge case related to IMGUI control behaviour. A fix is unlikely in the short to medium term.