Search Issue Tracker

Third Party Issue

Votes

0

Found in

2019.4

2019.4.21f1

2020.3

2021.1

2021.2

Issue ID

1318755

Regression

Yes

[macOS] Unity crashes when exception thrown after a DLL has been loaded

Mono

-

Repro steps:
1. Download and open project from the link below
2. Open scene "LipSync_Demo"
3. Enter Play Mode
4. Exit and Enter Play Mode a second time if it doesn't crash on first

Expected: Editor doesn't crash
Actual: Editor crashes

Reproducible with: 2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a17
Not reproducible with: 2018.4.34f1

  1. Response avatar

    Resolution Note (2021.2.X):

    The crash is due to the oculus lipsync plugin using it's own crash handling that is preempting mono's own. This results in access violations via null references manifesting as hard crashes instead of being re-thrown as a managed NullReferenceException. Provided the user mono's workaround for this issue: https://www.mono-project.com/docs/advanced/signals/

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.