Search Issue Tracker

Duplicate

Votes

0

Found in

2018.2.8f1

Issue ID

1083076

Regression

No

Editor hard crashes when script causes stack overflow in Windows 7

Mono

-

How to reproduce:
1. Open attached "CustomUISystemCrashSample" project
2. Load Scene "Test Forms" and enter Play Mode

Expected result: Editor does not crash and throw StackOverflowException in Console
Actual result: Editor crashes

Reproduced with: 2017.4.12f1, 2018.1.9f2, 2018.2.9f1, 2018.3.0b3, 2019.1.0a2

Notes: The issue does not reproduce on Windows 10 and an error is thrown in the Console instead

  1. Resolution Note:

    StackOverflow exceptions are quite hard to handle correctly. We don't handle them at all on old Mono. On new Mono, we rely heavily on OS support. As this is working correctly in newer versions of Windows, it is unlikely we will fix this on Windows 7.

Comments (1)

  1. Frolky

    Jul 16, 2019 05:59

    This problem completely breaks the editor. The game mode starts for a very long time, the code compilation time increases. It helps only complete reinstallation of Unity.
    Unity 2018.4.4f1

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.