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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
This is a duplicate of issue #1310970