Search Issue Tracker

Third Party Issue

Votes

0

Found in

2021.3.30f1

2022.3.10f1

2023.1.15f1

2023.2.0b11

2023.3.0a7

Issue ID

UUM-49796

Regression

No

Crash on RaiseException when exiting and re-entering Play Mode

-

Reproduction steps:
1. Open the attached “repro-project“
2. Open the “Assets/Scenes/01 MainMenuDoozy.unity“ Scene
3. Enter the Play Mode
4. In the Game View select “Go to Login“
5. Enter “test@test.com“ in the email field and “test123“ in the password field
6. Select “Login“ and wait
7. Check all of the boxes and select “Continue“
8. Select “Ranges > Open Range” and wait for it to load
9. Exit Play Mode
10. Enter Play Mode again and observe the crash

Reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.15f1, 2023.2.0b11, 2023.3.0a7

Reproduced on: Windows 10 (22H2)
Not reproducible on: No other environment tested

First few lines of the stack trace:
0x00007FFA952FCF19 (KERNELBASE) RaiseException
0x00007FF9F03A064C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\utils\mono-log-common.c:143] mono_log_write_logfile
0x00007FF9F038C4A2 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:172] monoeg_g_logv_nofree
0x00007FF9F038C57C (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:215] monoeg_assertion_message
0x00007FF9F038C5C9 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\eglib\goutput.c:231] mono_assertion_message

Note: Couldn’t test Player due to build failing

  1. Resolution Note:

    The users project makes use of a plugin called NatDevice. During domain reload where the current child domain has been unloaded but prior to the new one being loaded a native NatDevice thread attempts to access a managed (C#) string object. This results in a fatal exception which crashes the editor. This will need to be fixed by the developer of the NatDevice plugin.

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.