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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note (2021.2.X):
Edge case related to IMGUI control behaviour. A fix is unlikely in the short to medium term.