- Home /
The question is answered, right answer was accepted
Sound but black screen in standalone build
So I've spent a good few days trying to figure this one out, I have a project that builds perfect to Android but I recently converted it to PC standalone, but whenever I build the game runs and I can hear the audio but the screen is black
I've tried all build settings (auto api, dx9 only, dx11 only, or both), I have changed the render path to and from forward and deferred
All scenes are added to the build and I get no output errors, interestingly using 2017.1 and checking the 'Display Resolution Dialog' the game crashed with an access error, unchecking it results in sound but black screen.
Using 2017.1 and 5.6.1 Resolution dialog works in 5.6.1 but not 2017.1, also I see the Unity splash screen and then black
Please help
Hi I am having the same issue now, Did you manage to solve this problem??
@outasync it would be very helpful to others if you posted your solution as an answer.
I agree and I tried but Unity won't let me post any answers
That happened because you had already posted a comment as an answer, which I converted to a comment so you can then add your answer :-)
Hmmm... you accepted your own answer which doesn't give you any points... I'll briefly unaccept it, and then accept it myself, so you'll get your karma ;-)
Answer by outasync · Feb 10, 2018 at 12:53 PM
A clean nvidia driver install worked for me
Answer by bolkay · Sep 12, 2017 at 05:57 PM
Make sure you are building the correct scene[0].
check the camera settings.
Is there such error when you play your game in the editor?
The scene is definitely being built, I can hear the intro music
I have camera depth at -1, clear flags - solid color (I have no skybox) render path - use graphics settings
I get 4 warnings but these are just unused variables
It builds and runs fine on android
Answer by Litleck · Sep 12, 2017 at 08:25 PM
Is it 2D or 3D possibly if 2D you could have a sprite in front blocking the camera. Do you have any lamps in your scene and is there any ambient light? Make sure you have your lamp at not exactly at 0 on the z axis if your using a 2D setup.
Its 3D, these's nothing in front of the camera, just to be sure I have tried disabling the canvas and various other objects. The build im using is identical to the android build which works perfectly, one thing I have noticed is that I get a black screen even on a brand new project with all default settings in Unity 2017 & 5.6 building for DX9 & DX11
I have reinstalled C++ redist, my nvidia drivers and nothing works. On a standalone build everything is working except the screen is completely black, I hear the audio and I get confirmation that my game is getting input from the mouse
Answer by edem81 · Feb 10, 2018 at 12:50 PM
Hi , i have a same problem.I buildid my 3dgame for pc.The game is running (have sounds) , but the background of the original unity splashscreen dont disappear.Did you find a solution?,Hi,i have a same problem.My 3d game builded for pc.Havent error messages.The game is running(heard sounds),but the background of the original unity splash screen dont disappear.Did you find a solution?
Yes and No.The game is running perfectly an other pc-s,just havent screen in my laptop.This is weird becouse i made the game on this laptop.The problem maybe the videocard.
Answer by kikesa72 · Jan 26, 2021 at 03:30 PM
The solution is in the Project Settings > Graphics, and select another file to the Scriptable render Pipeline Settings. It works for me in 2019.3, hdrp, becuase failed in the same way.
@kikesa72 there was no Scriptable Render Pipeline when the question was posted (or maybe SRP was experimental). Anyway, it's good you solved your problem with a more recent Unity version.