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
- “Error in Shader Graph Assets/Samples/Shader Graph/17.1.0/Production Ready Shaders/Lit/URPLit.shadergraph: Graph is generating too many variants…” error is thrown after importing Shader Graph Samples
- ComputeShader cannot access the depth element of RenderTexture targeted by an HDR camera
- Search in the Console window highlights wrong text when text contains HTML attributes
- Particle System doesn't always play when ParticleSystem.Play() is called
- Build Profiles: The vertical and horizontal window lines are different colors and this is not consistent with the other engine windows
Add comment