Search Issue Tracker
In Progress
Fix In Review for 6000.0.X
Fixed in 2022.3.59f1, 6000.1.0b2
Votes
1
Found in
2022.3.54f1
6000.0.30f1
6000.1.0a7
Issue ID
UUM-90041
Regression
Yes
'Stack overflow' error logged in the Console when a script that has a lot of classes is compiled
How to reproduce:
1. Open the attached “IN-89853” project
2. Open the “SampleScene” Scene
3. In the Hierarchy select the “ClassGeneration” GameObject
4. In the Inspector under the “Class File Generator (Script)” component in the “Class Count” attribute input field enter 100000
5. Click on the 3 vertically aligned dots near the “Class File Generator (Script)” and select the “Generate Classes” option
6. Wait for the script compilation to be done
7. Observe the Console window
Expected result: No errors logged into the Console window
Actual result: ‘Stack overflow’ error logged into the Console window
Reproducible with: 2022.2.0a3, 2022.3.54f1, 6000.0.30f1, 6000.1.0a7
Not reproducible with: 2021.3.46f1, 2022.2.0a2
Reproduced on: macOS, Windows 10, Windows 11
Not reproduced on: No other environments tested
Notes:
-When trying to reproduce the issue on 2022.2.0a3 version the Editor crashes without a crash report bug window opening
-Reproduces on macOS only when generating more classes (e.g. 1000000 instead of 100000)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment