Search Issue Tracker
By Design
Votes
0
Found in
5.0.0a9
Issue ID
610564
Regression
Yes
Serialization depth exceeded warning thrown when serializing List with 0 elements
To reproduce:
1. Open attached project
2. Open scene "asd". It contains a Class "Node" which has a list of Nodes inside
3. Note the console - Serialization depth limit exceeded warnings have been thrown, even though the list size is set to 0
Regression since 4.3.4f1
Explanation:
It is a cycle that's causing this. The warning was added in 4.5, but it just warns about performance issues that have always been there.
Comments (3)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
retraffic
Feb 27, 2015 11:07
how can this be "By Design" if the list size is 0?
I understand that there can be a warning about this but not something that is marked as an error and that it happens all 5 seconds even though there is no depth exceeding actually happening. the list has 0 elements after all..
my console output is completely unreadable.