Search Issue Tracker
Active
Votes
0
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
- Property fields overlap in the Override window when comparing changes
- "Timeflow Animation System" custom package appears twice in the Package Manager
- Sprite Atlas Override for iOS setting remains disabled when saving its change to enabled
- Increased Memory usage when Update Mode 'On Demand' Realtime lights are used and DX12 API is selected
- Shader warnings in URP ShaderGraph when using the Normal From Texture node
Add comment