x


OnApplicationPause not received in some conditions (Windows)

My game is using "Application.runInBackground = true". Application correctly continue running and playing when there is no focus over the game window.

The problem I'm having is when a user "Lock" his machine over Windows 7 (Ctrl+Alt+Del + Lock Option). The application seems to be actually paused and I'm never receiving any "OnApplicationPause" message. Does it sound like a bug or there is some way to detect this edge case?

Nicolas

more ▼

asked Mar 14 '12 at 05:11 PM

Nicolas 1 gravatar image

Nicolas 1
11 2 2 5

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I have the same problem, OnApplicationPause never triggers, neither in player nor in editor when I press the pause button. I'm under Windows XP with Unity 3.5

more ▼

answered Apr 05 '12 at 09:46 AM

Antoine gravatar image

Antoine
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x260
x125
x11
x4

asked: Mar 14 '12 at 05:11 PM

Seen: 711 times

Last Updated: Apr 05 '12 at 09:46 AM