Search Issue Tracker
Fixed in 2022.3.59f1
Fixed in 2022.3.X, 6000.0.X, 6000.1.X, 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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment