Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

Votes

0

Found in

2019.2

2020.1

Issue ID

1202746

Regression

Yes

[Mojave] Editor crashed on profiling::profiler::GetProfilerThreadID() when Exiting Switch Target pop up

Profiling

-

How to reproduce:
1a.) The project is created for the Android platform, make sure that you don't have this platform installed
1b.) In 'Advanced Project Settings' add flag a build target flag for a platform that is not installed on the machine, for example -buildTarget XboxOne
2. Open the attached New Unity Project (2).zip project
3. When the pop up to switch platform appears press Exit Unity button
===Crash occurs===

Reproducible with: 2019.2.0a14, 2019.2.16f1, 2019.3.0f1, 2020.1.oa16

Not reproducible with: 2019.2.0a1, 2019.2.0a13

Looks like it regressed in 2019.2.0a14, but not sure because it's not always reproducible

Notes:
- In 2017.4 and 2018.4 the Switch Target pop up is not present, the project just opens on the Windows/macOS Standalone
- Reproducible every second/third time
- Could not reproduce with macOS Catalina

Stack trace:
0 com.unity3d.UnityEditor5.x 0x000000010fb42b69 profiling::profiler::GetProfilerThreadID() + 25
1 com.unity3d.UnityEditor5.x 0x000000011009e2c8 AudioManager::systemCallback(FMOD_SYSTEM*, FMOD_SYSTEM_CALLBACKTYPE, void*, void*) + 424
2 com.unity3d.UnityEditor5.x 0x0000000113408e9f FMOD::thread::callback(void*) + 175
3 libsystem_pthread.dylib 0x00007fff7fe6c2eb _pthread_body + 126
4 libsystem_pthread.dylib 0x00007fff7fe6f249 _pthread_start + 66
5 libsystem_pthread.dylib 0x00007fff7fe6b40d thread_start + 13

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.