Hi MaFi Games team,
I recently played Captain of Industry on my friend's PC and I just wanted to say that the game is absolutely amazing. We really enjoyed it.
We ran into what looks like the same Alt+Tab / minimize crash issue described here.
The game launched, but it crashed every time it was minimized or when switching away from it with Alt+Tab. Switching display modes also seemed unstable.
I investigated the crash logs a bit. The failing module was:
NvPresent64.dll
The crash path also seemed to involve:
NvPresent64.dll
dxgi.dll
UnityPlayer.dll
gameoverlayrenderer64.dll
nvspcap64.dll
Steam Overlay and NVIDIA Overlay were disabled during testing.
We also tried changing the registry value:
Screenmanager Fullscreen mode = 1
That helped the game launch properly, but it did not fix the crash when minimizing / Alt+Tabbing.
The workaround that finally fixed the issue was adding these Steam launch options:
-force-d3d11-bitblt-model -screen-fullscreen 1 -screen-width 2560 -screen-height 1440
After adding this, the game no longer crashed when minimized or when switching away from it.
It looks like the issue may be related to the default D3D11 / DXGI / NVIDIA present or swapchain path when the game loses focus. Forcing the D3D11 BitBlt model seems to avoid the crash on this setup.
I attached a minimal logs archive. I can also provide the latest crash.dmp if needed.
Hope this helps you investigate the issue.
P.S. I played the game on my friend's PC and loved it. If you ever decide to gift me a copy of Captain of Industry, I would be extremely happy. Either way, thank you for making such a great game!
README.txt, Unity-Player-prev.log, Unity-Player.log, Player.log, 26-06-03_15-48-24_5555.log, 26-06-03_15-51-18_2589.log, Windows-Application-Errors.txt