Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X, 2021.2.X
Votes
0
Found in
2020.1.0a19
2020.3
2020.3.8f1
2021.1
2021.2
2022.1
Issue ID
1361799
Regression
No
Build crashes with Unexpected mark stack overflow Error when building with IL2CPP
How to reproduce:
1. Open user-submitted project
2. Navigate to Edit --> Project Settings --> Player --> Other Settings
3. Make sure that Scripting Backend is set to IL2CPP and Use Incremental GC is ticked
4. Navigate to Edit --> Project Settings --> Quality
5. Make sure that VSync Count is set to Don't Sync
6. Navigate to File --> Build Settings
7. Press Add Open Scenes
8. Build and Run the project
Expected result: The Build runs until it is turned off
Actual result: The Build crashes after 0-5 minutes
Reproducible with: 2020.1.0a19, 2020.3.18f1, 2021.1.20f1, 2021.2.0b9, 2022.1.0a8
Not reproducible with: 2019.4.30f1, 2020.1.0a18
Note: If the project doesn't load press Help --> Reset Packages to defaults and delete the Library folder
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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a12
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0b16
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.26f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.21f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.33f1