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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
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/