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 (47)

  1. Fc6e78b96e34e6bddf1eb65b362b6e2e?d=mm


    Sep 11, 2019 13:31

    Howdy, May I grab that photo and usage it on my website?

  2. B77057d4308965ff4db7d3d9bb7bf2a5?d=mm


    Sep 04, 2019 17:59

    Getting this on only one computer on v2017.4.31f1 was this fixed in 2017.4 LTS?

  3. 09d46ef55e26a3d758299f22ea328355?d=mm


    Sep 02, 2019 11:42

    Nice Informative Blog having nice sharing.

  4. 99c329cd92aab1841d6c8151fb89f850?d=mm


    Aug 31, 2019 10:53

    This is an awesome motivating article.I am practically satisfied with your great work.You put truly extremely accommodating data. Keep it up. Continue blogging. Hoping to perusing your next post.

  5. E2719045c101a415cdfd66334d425a3c?d=mm


    Aug 20, 2019 11:53

    This one is great. keep doing awesome!

  6. Efe79f65b219936f2d04856fe29b09ac?d=mm


    Apr 16, 2019 13:03

    Keep your mind sharp and enrich your vocabulary with this addicting and challenging word puzzle game that’s keeping everyone hooked. Download it now on PC for free. Read more for tips, tricks, and the complete game review.

  7. 61e800df75b1d6f86d08536d73a8afec?d=mm


    Mar 16, 2019 12:26

    I also face this error during java program excutation, when i run my code it shows so i really suffers a lot due to this error i want a proper solution to resolve this error as soon as possible.

  8. 61e2cf0463cbe68f11b20add43fd9202?d=mm


    Mar 09, 2019 00:34

    Happens to me too!

  9. A5dff54a95e6daed737f719ed345b039?d=mm


    Mar 07, 2019 11:25

    Please fix it in 2017LTS

  10. 005bf585e366831e2d2fec7bf4120206?d=mm


    Mar 03, 2019 14:19

    The issue is already fixed in 2018.3.8f1, which should arrive soon-ish.

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.