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. Dismiss Notice

Bug RESOLVED!!! Skipped rendering frame because GfxDevice is in invalid state (device lost) on app start

Discussion in 'Android' started by levoxtrip, Sep 11, 2023.

  1. levoxtrip

    levoxtrip

    Joined:
    May 4, 2020
    Posts:
    45
    Everytime when I start my app my screen is black and I get this error: Skipped rendering frame because GfxDevice is in invalid state (device lost)
     
  2. manugil

    manugil

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    40
    Could you give us a bit more information about how are you encountering this error? Are you using the AR/XR package?
     
  3. levoxtrip

    levoxtrip

    Joined:
    May 4, 2020
    Posts:
    45
    So yeah I'm using ArFoundation 5.0.7 and ARCore 5.0.7.

    The error is right from the start. When I then push the lock Btn of my tablet and unlock it again it comes back sometimes. But it takes long time.
     
    Last edited: Sep 11, 2023
  4. manugil

    manugil

    Unity Technologies

    Joined:
    Jan 13, 2020
    Posts:
    40
    There is already a bug reported with the same error message (Link to issue tracker).

    If you have additional questions, you might want to ask them in the already existing forum thread for this issue, since it's related to the AR package and not to Android specifically.
     
  5. levoxtrip

    levoxtrip

    Joined:
    May 4, 2020
    Posts:
    45
    Ok thanks a lot. The exisiting froum thread actually helped me and resolved my problem