Search Issue Tracker
Duplicate
Votes
0
Found in
2020.2.0b3
2020.3
2020.3.3f1
2021.1
2021.2
Issue ID
1332177
Regression
Yes
The Editor freezes when adding an element to a list of serialized interfaces
How to reproduce:
1. Open the attached project from "1332177caseListFreeze.zip"
2. Open Scene "Chech This Scene"
3. Click on object "Check this GO" in Hierarchy
4. Click on "My Type List" and then on the first element in the Inspector
5. Observe the Editor freeze
Expected result: The elements can be interacted with in the Inspector
Actual result: The Editor freezes and starts using up memory
Reproducible with: 2020.2.0b3, 2020.3.9f1, 2021.1.8f1, 2021.2.0a17
Not reproducible with: 2019.4.27f1, 2020.2.0b2
Couldn't test with: 2018.4.35f1 (code not added)
Note:
1. This happens due to the fact that when you add an element to a list it is assigned an id of 0, which is the same Id of the object that contains the list.
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
- Specular lighting visible in a camera with Path Tracing when Preserve specular lighting is disabled in observed material
- Cinemachine package throws CS1061 errors in the Console when installed in a project that has HDRP and URP installed
- Editor.log file size grows rapidly when a scene exceeds the "Maximum Shadow on Screen" limit setting in the HDRP Asset
- Player build freezes after calling Application.Quit() when the scripting backend is set to IL2CPP
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
This is a duplicate of issue #1180716