Search Issue Tracker
Fixed
Fixed in 2022.3.59f1, 6000.0.42f1, 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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Add comment