View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0018913 | AI War 1 / Classic | Crash/Exception | Oct 21, 2016 8:55 am | Mar 10, 2017 1:35 am | |
Reporter | giftgruen | Assigned To | |||
Status | new | Resolution | open | ||
Product Version | 8.023 | ||||
Summary | 0018913: Loss of focus makes game unresponsive | ||||
Description | I play in fullscreen and when I Alt-Tab, or accidentally hit the Windows key or something else happens that makes AI War lose focus, it freezes, making me unable to click anything or save the game. Unchecking the fullscreen toggle in the main menu produces an error window that I cannot directly see, because the frozen game blocks the view. ErrorsReportedByEngine.txt contains the following: 10/21/2016 1:19:27 PM (8.024) Mem: 214,978,560 Plat:WindowsPlayer -----------------------------------ErrorsReportedByEngine----------------------------------- 10/21/2016 1:19:27 PM (8.024) -----------------------------------Error-----------------------------------Log String: D3D device reset failed [invalid call] Stack Trace: That repeats for every crash, those after switching settings as well as those by loss-of-focus. Looking at the error window through the preview (Alt-Tab), I think I could decipher something like "Couldn't switch to desired resolution", "All resolutions switches have failed" or something, then: (1920x1080, fs=0, hz=0). That 0 hz refresh rate might be the culprit. Fullscreen preferred refresh rate unsurprisingly doesn't change that behaviour. | ||||
Tags | No tags attached. | ||||
Internal Weight | |||||
|
Okay, I managed to get the game running in windowed mode with a workaround. As said in the following link: https://forum.unity3d.com/threads/couldnt-switch-to-requested-monitor-resolution.150771/ starting the game with pararmeter "-force-opengl" solves the issue. There are still problems with this, like the fact that the game seems to be tilted a bit to the right and down compared to where by mouse cursor highlights things (to highlight something, I would have to click to the right and under the button, or I click something else). That is easily resolved, though. |
|
Another solution is the start parameter -force-d3d9. Seems DirectX11 causes this? |
|
I've noticed similar issues when minimizing or navigating away from the window too long, even using OpenGl. |