Can't Build & Run on PC

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.

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!

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?

there is player.log file that might have something:
C:\Users\username\AppData\LocalLow\CompanyName\ProductName\Player.log

1 Like

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.