Search Issue Tracker
By Design
By Design in 2023.2.X
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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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
Resolution Note (2023.2.X):
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