Search Issue Tracker
By Design
Votes
0
Found in
2019.3.0a2
2019.3.0b1
2020.1.0a1
Issue ID
1181495
Regression
No
GameObjects are can't be assigned to the List when the List is Interface IClickalbe and is using [SerializeReference]
Steps to reproduce:
1. Open user's attached project "19.3.zip"
2. Open "1" scene
3. In the Hierarchy window select "GameObject"
4. Try dragging "Source" or "Target" GameObject from the Hierarchy to GameObject script component under IClickable List
5. Notice that this action has no effect
6. Try changing the List Size
7. Notice the error in the console "Generating diff of this object for undo because the type tree changed."
Expected results: GamesObjects are added in the Interface IClickble list in the Inspector window
Actual results: GamesObjects can't be added in the Interface IClickable list in the Inspector window and an error is thrown
Reproducible with: 2019.3.0a2, 2019.3.0b2, 2020.1.0a3
Notes: Most of the time error is not thrown. In the Unity version 2019.3.a1 and lower [SerializeReference] can't be accessed due to its protection level making the public IClickable list invisible making the situation impossible to test
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Builder Data Path Source List starts flickering and scrolling when trying to select the last item in the list
- Crash on ProcessSceneBeforeExport when analyzing selected Addressables rules in a specific project
- HDR images are compressed incorrectly with default settings on Android Platform
- Crash with multiple stack traces when painting detail on Terrain with a highly detailed Prefab
- Crash on mono_object_handle_isinst_mbyref_raw when SerializedReference points to a struct implementing ISerializationCallbackReceiver whose first field is a UnityEngine.Object
Add comment