Search Issue Tracker
Duplicate
Votes
0
Found in
2020.2.0b2
2020.2.2f1
2020.3
2021.1
2021.2
Issue ID
1315950
Regression
Yes
Stack overflow exception is thrown while building when project contains a script with an inner class with Serializable attribute
Reproduction steps:
1. Download and open the attached project "1315950.zip"
2. Build the project
Expected result: No errors are thrown and the build succeeds
Actual result: Stack overflow exception is thrown but the build still succeeds
Reproducible with: 2020.2.0b2, 2020.2.7f1, 2020.3.0f1, 2021.1.0b10, 2021.2.0a8
Not reproducible with: 2018.4.32f1, 2019.4.22f1, 2020.2.0b1
Reproduced with:
Windows 10
macOS (11.1 Big Sur)
Android
iOS
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
This is a duplicate of issue #1310970