-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After build comes out When the program loses focus and runs for a while, the program will not respond #14
Comments
Can you confirm that Player Settings --> Resolution and Presentation --> "Run in Background" is checked on? |
Yes, is checked on |
Full screen seems to solve this problem. I don't know why? Is it about resolution? |
Actually, i have same problem. Window works fine when minimized, but when you're trying to maximize it, window appears to be frozen (spinning circle, "(not responding)" in window title). You can see that your application is working, but you cannot interact with it anymore. Some interesting details that i've found while trying to pinpoint the issue:
I hope this information was useful. |
Same problem. Exactly 5 seconds after loses focus and wham - application crash.. but the stream in OBS continues to play fine and my game still working. It's just that the window is frozen and Windows asks me to end task. And has become completely unrecoverable. -- I am using Unity 2019.3.2f1 and Windows 10. It does not freeze if the window is minimized maximizing window and it still freezes. I have not tried full screen - but I fullscreen is not compatible with my game and I must use windowed. Can you please help me find where the issue is? |
So, i think i found a solution for 2019.1+. Let me know if this works for all of you too. This method from Win32 api removes indication that window is not responding. Although this seems like just visual fix, input and other things work fine for me when i return to the window. Just call WindowsUtils.DisableWindowGhosting() somewhere during initialization.
|
Tested on Windows 10 Version 1903. |
After build comes out
When the program loses focus and runs for a while, the program will not respond
But the program is still running
use unity2019.3.3f1
The text was updated successfully, but these errors were encountered: