But this did not happen prior to 2020 unity, so is something that was changed between versions
BTW, i try to use a project i have in an Intel NUC with Iris 655 GPU and just cant, i used 2018 latest version and had a severe issue where the interface would just get stuck and mouse not press half the items in the unity screens, only the top menu is pressable, so have to kill Unity.
Then tried 2019 latest and had it crash 4 times during initial conversion without any reason.
Then 2021 which did convert and has this DX11 issue, note that 2018 was the only one that did work fine, until it got bugged in GUI few minutes after operation.
At first i was frustrated, now i just have a nervous laughter at this experience.
That is great to know it works that way, though should be fixed so can use both cards as is the normal operation, hopefully in next versions will be handled properly as well, this is a great way to keep working though, will check asap
I keep getting this error everytime i boot up a project.
I have ONLY the unity window opened
And replacing,uninstalling and updating the graphic cards isnāt an option
Iāve been having this issue when my game scene gets a little busy (2020.2).
I āseemā to have fixed this (the game now gets past the point it would previously crash - but more testing is needed to be 100% sure) by turning off the Resolution & Presentation setting: āUse DXGI Flip Mode Swapchain for D3D11ā
The only thing that worked for me was a system restore point I luckily had the day before the accident.
I was working with 2019.4.25f1 DX11 version at the time.
I have switched to UV Charts option which I believe caused it to crash due to having a lot of objects and light sources in the scene.
Some of the solutions I tried:
Disabling one graphic card worked but not optimal.
I tried deleting the library folder but didnāt work.
I updated the drive but didnāt seem to do anything at all.
I was going to try using a driver uninstaller to completely remove the drive and update it again if the system restore point didnāt work as I have seen a similar issue solved like this, so if nothing works might try this one out.
I didnāt try turning off the resolution & presentation setting, that might have worked too.
I tried a number of options including updating graphics card drivers and changing TdrDelay value.
One thing that worked for me is:
In the list of Projects shown in Unity Hub, press on the 3 dots at the right of the project name
Press āAdvanced Project Settingsā, an empty text area should appear.
Type: -force-d3d12
Press Done and open the Project
It started working for me but at the bottom of the editor, it constantly shows
ād3d12: Profiler is enabled, but stable power state is not. GPU timing errors are expected.ā
It started to happen to me too. Iām pretty sure itās either the nVidia driver version, or the geforce experience (I donāt know what of this 2 because I updated both at the same time). Try rolling back to a older driver or uninstalling geforce experience.
I had this issue today. I also submitted a bug report earlier but in short, it was occurring when launching any project (existing or new) in 2020 & 2021 after updating NVIDIA drivers to the newest version, (as well as various other versions on the NVIDIA site I installed after that to attempt to fix it). Using Windows 8.1, NVIDIA GeForce GTX 860M, also have an Intel(R) HD Graphics 4600. I tried disabling the Intel one in the Device Manager and while it stopped the error, the scene/game in the Unity editor was still super slow (But fine when playing games or launching a build from one of my projects).
In case it helps anyone else, I uninstalled the NVIDIA driver through the Control Panel / Programs And Features and restarted the PC. It seemingly reinstalled some older versions (possibly previous ones I had installed? Or perhaps windows chose specific stable ones, idk). It didnāt work the first time but I did the same thing again and it installed an even older one (385.46). Perhaps not ideal to use older drivers, but it has fixed the error and lets me continue using Unity at least. Maybe this method will work for others too.
It worked for me too but I donāt feel comfortable using an experimental api. Using d3d12 also causes the game window to have severe tearing, regardless of framerate or vsync settings.
RTX 3070 8Gb
32 Gb RAM DDR4
i7 11700 11th 8 cores
windows 10
Unity 2020.3.2f1 HDRP
crashed sometimes after 5mn in the timeline
the same scene donāt crash at work on another pc (GTX 1080)