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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment