Search Issue Tracker

By Design

Votes

0

Found in

2021.3.41f1

2022.3.39f1

6000.0.12f1

Issue ID

UUM-76330

Regression

No

Editor freezes occasionally when entering Play mode while using procedural generation

-

How to reproduce:
1. Open the attached "big game.zip" project
2. Open the "Dungeon" Scene and enter Play mode
3. Observe the Editor
4. Repeat step 2 if necessary

Expected result: Unity Editor enters Play mode without any issue
Actual result: Unity Editor occasionally freezes when entering Play mode. Application.EnterPlayMode never finishes executing unless the Editor is restarted

Reproducible in: 2021.3.41f1, 2022.3.39f1, 6000.0.12f1

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested

  1. Resolution Note:

    Infinite loops were detected in project script. LoopSectorSnake() in ProcGen.cs was not always generating a new sector but kept looping, which was causing the editor to hang. Adding infinite loop checks inside ProcGen.cs fixes this issue. If you believe that these conditions were reached as a result of a bug, please feel free to re-open the case and provide more information so we can investigate it further. Thanks!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.