3
votes

I have recently purchased a new computer :

https://pcandparts.com/hp-gaming-laptop-power-15-cb005ne-acid-green/

And I have installed Unity on it. The problem is that every time I try to move the layouts unity screen becomes black and freezes.

https://gyazo.com/fdbbba09cbee7005b1b55637cea19855

After trying to search online, post on multiple forums, contacting Unity Team and Nvidia support I have found that the only solution is running unity from the command using -force-glcore

In fact, Nvidia support have been unable to find the solution and Unity Team was stressing that I update my graphic drivers and Directx version however both of them are latest versions and so is Windows 10.

https://gyazo.com/ee810b7d18be7580d3703e42c7b46526 https://gyazo.com/ea751dcf39ebfc791f2dce59cd219a0c https://gyazo.com/d43718cc693a7c9cac44f4924bf968da

This is the latest email I have received from Unity Team :

https://gyazo.com/df2d7e960484cd8c682e5b733860e935

as well as the link for unity forum that also includes the error and editor logs:

https://answers.unity.com/questions/1511848/unity-editor-crash-2.html?childToView=1512288#comment-1512288

I also tried multiple versions of Unity from 2017 and 2018.

I will provide any additional information needed.

How can I solve the problem so I can run Unity smoothly and without having to go to force-glcore ? And what is truly happening?

Thank you in advance for taking the time to read

1
Have you tried downloading another version of unity? Does the same thing happen as well? - Swift
yes I already tried 4 versions , Unity 2017 (latest version and latest patch version) and Unity 2018 the .1 and the latest @SwiftingDuster - Sara Kat

1 Answers

3
votes

How can I solve the problem so I can run Unity smoothly and without having to go to force-glcore ?

There are other things you can try.

1.Use DirectX9 instead of DirectX11. The default on the new Unity verions is DirectX11.

Go to File ---> Build Settings... ---> Player Settings ---> Other Settings then un-check the Auto Graphics API for Windows API checkbox. From there drag and move Direct3D9 above Direct3D11 click Apply and restart the Unity Editor.

If Direct3D9 is already above Direct3D11 then move Direct3D11 above Direct3D9.

enter image description here

2.If #1 doesn't work, try other graphics API. You can try other 3 graphics API such as Direct3D9, Vulkan and OpenGL Core.

These are hidden and you must click the + sign then manually add them to the menu then drag them to the top.

enter image description here

Then you can chose which one to add and then drag them to the top to force Unity use them.

enter image description here

Once of these should work for you. Chose the one that works the most. You don't need -force-glcore when opening Unity to use this. Your issue is mostly a driver issue sometimes, a workaround like this solves it until the driver is fixed.