Search Unity

  1. How can our website serve you better? Give us your feedback. Take our survey and let us know.
    Dismiss Notice

How to fix these errors when launching a built game

Discussion in 'Shaders' started by Real_BTN4, Mar 24, 2021.

  1. Real_BTN4

    Real_BTN4

    Joined:
    Oct 16, 2020
    Posts:
    23
    Whenever I open my built unity project, I get these errors. Can someone please help me fix it?

     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,012
    The log says "forcing gfx device null" - get rid of extra command line arguments and it should work.
     
  3. Real_BTN4

    Real_BTN4

    Joined:
    Oct 16, 2020
    Posts:
    23
    What exactly do I need to do to "get rid of extra command line arguments"
    Sorry. I'm a bit new.
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,012
    Well, it says that it's not using a real graphics device. I suppose that's because of some command line argument added to the application you're trying to launch.
     
  5. Real_BTN4

    Real_BTN4

    Joined:
    Oct 16, 2020
    Posts:
    23
    I still can't figure out the command line arguments I'm supposed to remove.
     
  6. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,012
    Are there any?

    Also, what hardware are you trying to run on?
     
unityunity