[Solved] Unity 5 grey screen on startup

I installed Unity 5 and when I start it up, it shows the unity logo then goes to a grey screen:

I have tried:

  • Uninstalling, restarting my pc, then reinstalling
  • Restarting my pc
  • installing nodejs into the unity folder (before the uninstall)

Useful info:

  • Unity version 5.4.2f1

  • Windows 10

  • 64-bit

I also have Unity 4.6 installed, but they are in different folders. I just can’t see why it is doing this!

Editor.log:

Built from '5.4/release' branch; Veesion is '5.4.2f1 (94e3a60ee258) revision 9757606'; Using compiler version '16004040219
'
OS: 'Windows 10  (10.0.0) 64bit' Language: 'en' Physical Memory: 3480 MB

BatchMode: 0, IsHumanControllingUs: 1, StartBugReporterOnCrash: 1, Is64bit: 1, IsPro: 0
 1, Is64bit: 1, IsPro: 0
Initialize mono
Mono path[0] = 'C:/Program Files/Unity/Editor/Data/Managed'
InMono path[1i = 'C:/Program
 Molos/Uni path[tor/Data/Mono/lib0mono/2.0C
Mono path[2] = 'C:/Program Files/U/Mity/Editor/Data/Unit
yScript'
th[1] = 'nfig path = 'C:/Program Files/Unity/Editor/Data/Mono/e
tc'
o path[2] = 'C:/Program Files/Unity/Editor/Data/UnityScript'
Mono config path = 'C:/Program Files/Unity/Editor/Data/Mono/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56032
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56824
ListPackages failed, output: module.js:338

    throw err;

          ^

Error: Cannot find module 'C:\Program'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Function.Module.runMain (module.js:501:10)

    at startup (node.js:129:16)

    at node.js:814:3


ListPackages failed, output: module.js:338

    throw err;

          ^

Error: Cannot find module 'C:\Program'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Function.Module.runMain (module.js:501:10)

    at startup (node.js:129:16)

    at node.js:814:3


InstallEditorPackages failed, output: module.js:338

    throw err;

          ^

Error: Cannot find module 'C:\Program'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Function.Module.runMain (module.js:501:10)

    at startup (node.js:129:16)

    at node.js:814:3


InstallEditorPackages failed, output: module.js:338

    throw err;

          ^

Error: Cannot find module 'C:\Program'

    at Function.Module._resolveFilename (module.js:336:15)

    at Function.Module._load (module.js:278:25)

    at Function.Module.runMain (module.installJavascriptPackagess:5il1:1
 
(F
ilen  a: C:t startup (nodity/build/Ru)
i
me/Utilities/Argv.cpp Line: 171)

    at node.js:814:3


installJavascriptPackages failed
 
(Filename: C:/buildslave/unity/build/Runtime/Utilities/Argv.cpp Line: 171)

Error loading file:///C%3A%2FUsers%2FJames%2FAppData%2FRoaming%2FUnity%2FPackages%2Fnode_modules%2Funity-editor-home%2Fdist/index.html#/project/recent

 
(Filename: C:/buildslave/unity/build/Editor/Platform/Interface/NativeWebViewWindow.cpp Line: 50)

Error loading file:///C%3A%2FUsers%2FJames%2FAppData%2FRoaming%2FUnity%2FPackages%2Fnode_modules%2Funity-editor-home%2Fdist/index.html#/project/recent

 
(Filename: C:/buildslave/unity/build/Editor/Platform/Interface/NativeWebViewWindow.cpp Line: 50)

It’s about time Unity fixes their installer.

https://forum.unity3d.com/threads/unity3d-5-3-not-working.372682/#post-2415582

For anyone else that comes here looking for a way to fix this. The problem used to be an issue with NPM and I believe it’s been fixed in the newer versions of the package manager, Unity is still using 3.1. Just turn off windows defender real-time protection, Malwarebytes real time protection etc… Really any antivirus software is going to interrupt some file writing that NPM needs to do for Unity to set up correctly.

For those of you who are curious, this is the step that is being blocked by your antivirus.
Error: EPERM: operation not permitted, rename “…” → “…”

With the best answer above mine, all you’re doing is manually placing the npm packages where they’re supposed to go. This should be a pretty simple fix for Unity, it’s unfortunate they haven’t gotten to it yet.

You should install an upgraded version of Unity 5 as it will not work in windows 10. There is no issue with NPM this problem is due to windows upgradation and it is not supportable. You get an update from Bitdefender Error 1020
after updating it won’t show a grey screen after startup.