Search Issue Tracker
By Design
Votes
0
Found in
2021.3.20f1
2022.2.10f1
2023.1.0b7
2023.2.0a6
Issue ID
UUM-29710
Regression
No
"Serialization depth limit 10 exceeded at 'EvolutionNode.icon'. There may be an object composition cycle in one or more of your serialized classes." when opening the project
How to reproduce:
Open the attached project "Project Huesos.zip"
Expected results: "Serialization depth limit 10 exceeded at 'EvolutionNode.icon'. There may be an object composition cycle in one or more of your serialized classes." is not thrown in the Console window
Actual results: "Serialization depth limit 10 exceeded at 'EvolutionNode.icon'. There may be an object composition cycle in one or more of your serialized classes." is thrown in the Console window
Reproducible with: 2021.3.20f1, 2022.2.10f1, 2023.1.0b7, 2023.2.0a6
Could not test with: 2020.3.46f1 (compilation errors in the Console window)
Reproducible on: Windows 10
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
In order to avoid the mentioned "Serialization depth limit exceeded" error please use [SerializeReference] attribute on the self-referencing list. In this case the field that causes this error is the List<EvolutionNode> next in the class EvolutionNode. Marking this list as [SerializeReference] will solve the issue.
You can find more information here https://docs.unity3d.com/ScriptReference/SerializeReference.html