Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Error Getgfxdevice() should only be called from main thread

Discussion in 'Editor & General Support' started by tecbug, Jan 31, 2019.

  1. tecbug

    tecbug

    Joined:
    Nov 19, 2015
    Posts:
    16
    I'm getting error in editor "Getgfxdevice() should only be called from main thread". It occurs randomly (every 1-5 minutes) in my project. Exported game crashes after random time (usually after 10 - 60 seconds).

    This bug has beed reported there: https://issuetracker.unity3d.com/is...rors-and-eventually-crashes-when-in-play-mode

    Bug report status is: "Fixed in future release", but what release do you mean exactly? In 2019.1 bug still occurs so do you mean 2019.1.1?

    People are asking this in report comments but nobody answered them.
     
  2. fmoo

    fmoo

    Joined:
    May 31, 2015
    Posts:
    15
    Does anyone know when this regressed? I'm getting crashes even in 2017.4.20f2.

    Possibly related: the MT renderer is enabled.
     
    Last edited: Feb 23, 2019