Search Issue Tracker
By Design
Votes
0
Found in
5.1.0f3
Issue ID
703953
Regression
Yes
[Crash] Infinitely recursive function which allocates memory crashes unity
Reproduction steps with a project:
1. Open attached project "AscensionCrashTest"
2. Open scene "Main"
3. Run the game
Notes:
1. Crashes so hard that Bug Reporter won't open
2. Replacing string allocation with Debug.Log() causes unity to hang, similar to an infinite loop
3. Removing allocation (simply calling itself and nothing more) causes stack overflow exception. No crash
Script that causes a crash:
void Start () {
KillCreator ();
}
void KillCreator() {
string[] /moms/ spaghetti = new string[10];
KillCreator ();
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Typo on "Chromatic Abberation" and "chromaticAbberationIntensity" when instead it should be aberration
- UI Document (UXML) UI disappears from the Game view when any asset is imported and does not reappear until clicking in the Editor
- Warnings about invalid URIs are thrown when UI Builder's Material field is set to null
- Warnings about invalid URIs are thrown when UI Builder's Variable Asset Reference field is set to null
- "Attempting to use an invalid operation handle" error is thrown when stopping Play Mode after loading an Addressable scene using LoadSceneAsync
Add comment