r/Unity3D 5h ago

Question Unity freezing laptop and then crashing when opening any project.

When I open a unity project, it freezes my laptop for a while before unity crashes.

This only happens when Integrated GPU is selected in the NVIDIA control panel, but if I have NVIDIA GPU only selected, unity flashes white and has a lagspike any time an input is pressed which makes it pretty much impossible to play my game. If I switch back to Integrated GPU after the project opens, everything works fine. Furthermore I cant switch graphics mode if I have my second monitor connected which I used for Visual Studio. My current process that I've been using to even open the project and work on it is this: Disconnect external monitor, switch to NVIDIA GPU, open project, switch to integrated GPU, and connect external monitor.

Wondering if anyone else has had this problem recently?

Also I have not updated any drivers or unity recently so maybe this was an automatically installed windows update?

1 Upvotes

2 comments sorted by

1

u/rockBottomPeon 2h ago

Never happen to me (hope it stays like that XD)
What version?
have you try running unity editor with -force-d3d11 or -force-glcore parameter?

1

u/worst_snail 1h ago

That disconnect/reconnect ritual sounds painful. The white flash on input with NVIDIA only is weird, almost like the compositor is having a fit every time it redraws.

Have you checked if your integrated graphics driver got silently replaced by a generic Windows one? That's bit me before, Windows update loves swapping in its own version and then hybrid switching goes sideways.