Search Issue Tracker

Fixed in 2018.3

Fixed in 2019.1



Found in



Issue ID




Editor throws "GetGfxDevice() should only be called from main thread" errors and eventually crashes when in Play Mode

Graphics - General


How to reproduce:
1. Open attached project "Breeze"
2. Enter Play Mode
3. Play the game for 2minutes
Observe errors "GetGfxDevice() should only be called from main thread" spammed in the Console
Observe the crash following the errors

Reproduced with: 2018.3.0b7, 2018.3.1f1, 2019.1.0a13
Does not reproduce with: 2018.3.0b6

Note: For 2019.1 Entering Play Mode is not needed to receive same error in Console

========== OUTPUTTING STACK TRACE ==================

0x000000014034D99D (Unity) SharedObject<SharedMeshData,1,SharedObjectDeleteReleaseOp<SharedMeshData> >::Release
0x0000000142203ADA (Unity) GfxDeviceWorker::RunCommand
0x000000014220B2CB (Unity) GfxDeviceWorker::RunExt
0x000000014220B3C4 (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x0000000140A6F094 (Unity) Thread::RunThreadWrapper
0x00007FFE0B3A1FE4 (KERNEL32) BaseThreadInitThunk
0x00007FFE0DF2CB81 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Update: fixed in 2019.2.0a6, 2019.1.0b5 and 2018.3.8f1

Comments (43)

  1. A5dff54a95e6daed737f719ed345b039?d=mm


    Feb 14, 2019 07:46

    same issue in 2017.4.19f1

  2. A5dff54a95e6daed737f719ed345b039?d=mm


    Feb 14, 2019 07:32

    Issue present on 2017.4.20f2

  3. 19f32dcbf6d12602cb79cee03803862b?d=mm


    Feb 11, 2019 02:02

    I'm encountering this same issue in 2018.3.5f1

  4. Be49f230f8a7592a379dd25e9981359c?d=mm


    Feb 04, 2019 10:08

    This issue still exists and is critical, my game crashes every 60 seconds or so and is unplayable :(

  5. 281db84f7a8908bd05634680e4a5edf7?d=mm


    Feb 04, 2019 04:38

    Issue present on 2018.3.4f1

  6. Cfefb3dc970fdde14a345bb68105504d?d=mm


    Feb 03, 2019 14:24

    This is happening to me in the latest update, not resolve!!

  7. 0f7f35d963d23fb992a994a3acf98867?d=mm


    Jan 29, 2019 20:52

    Please tell us in which version exactly this will be fixed. Thank you.

  8. Bb96919e6dcd936f9ac22c0187cd7807?d=mm


    Jan 29, 2019 00:25

    "future release" mean which one? I have checked 2019 beta and nothing changed.

  9. Ad4d941995d70443e4413def2838bd06?d=mm


    Jan 28, 2019 11:51

    Issue is marked as resolved when I try to vote, but I am still having the issue in 2018.3.3, and I can't find a download link for version 2018.30b6. I need this issue resolved before March.

  10. C1adff0f832dacc30d1fbc9dc838e276?d=mm


    Jan 28, 2019 03:44

    If this was resolved in Unity2018.30b6 but broken in subsequent versions... how do we get notified if this gets resolved in the latest version of Unity?

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.