Search Issue Tracker

Duplicate

Votes

0

Found in

2017.3.0b8

Issue ID

966483

Regression

No

[.NET 4.6][macOS] Native code callbacks from separate thread crash Unity when .NET 4.6 is used

Mono

-

Steps to reproduce:
1) Open the attached project.
2) Open Scene.unity.
3) Enter play mode.
4) Exit play mode.
5) Enter play mode.

Unity crashes. Logs indicate that the issue is related to threading:
wait_for_tids: failed to call mono_thread_detach_internal on thread 0x70000e5b8000, InternalThread: 0x144d33be0

The issue doesn't happen with .NET 3.5. According to the user, this doesn't reproduce if callbacks happen in the main thread.

Reproduced on:
2018.1.0a6 (trunk as of 2017/11/27), 2017.2.0a1

Only reproducible on macOS.

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.