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

Can't Build & Run on PC

Discussion in 'Editor & General Support' started by HeatWave_Games, Jan 29, 2020.

  1. HeatWave_Games

    HeatWave_Games

    Joined:
    Jun 3, 2016
    Posts:
    52
    Hi,

    I created an empty project in Unity 2019.3.0f3 and without changing anything I selected File > Build & Run.

    An exe was created and launched, but the programs window didn't open, I just got this window popping up for half a second then it disappeared and nothing happened afterwards.

    https://ibb.co/mtdPPBT

    I tried it on Uniy 2019.2.17f1 too but it's the same.

    I'm trying to Build & Run on an x64 Windows 10 laptop.

    After building I get this message in the console:
    Build completed with a result of 'Succeeded'
    UnityEditor.BuildPlayerWindow:BuildPlayerAndRun() (at C:/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:122)


    Do you know what might cause this or how could I investigate it?

    Thanks!
     
  2. HeatWave_Games

    HeatWave_Games

    Joined:
    Jun 3, 2016
    Posts:
    52
    Now I tested on my PC and there the same project builds and runs fine.

    Is there a log or something which I could check or compare?
     
  3. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,992
    HeatWave_Games likes this.
  4. HeatWave_Games

    HeatWave_Games

    Joined:
    Jun 3, 2016
    Posts:
    52
    Thanks mgear!

    The error lead me to a crash report, where it said:
    Access violation at nvwgf2um.dll

    This dll is related to the nvidia driver, and reinstalling the nvidia driver fixed the issue.