How to keep it running when losing focus?
I tried check “Run In Background” in Player Setting but it still pause when my game inactive.
I used this code :
Application.runInBackground = true;
but it not work too.
How to keep it running when losing focus?
I tried check “Run In Background” in Player Setting but it still pause when my game inactive.
I used this code :
Application.runInBackground = true;
but it not work too.
You cannot do that with Windows Store apps, that’s a restriction from Microsoft.
Thanks for your reply @Tomas1856
I have a problem in here: WindowSizeChanged Event doesn't work on tablet mode - Unity Engine - Unity Discussions
If i cannot run game in background, what should I do to fix that bug? Can you give me some advice?
Hey @Tomas1856 , I see a lot of game windows store app which can run in background (like Candy Crush Soda). It still update when I click another windows. I just want to disable pausing game when lost focus on Windows 10, not on Windows 10 Mobile.