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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Add comment