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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
This is a duplicate of issue #1310970