View Issue Details

IDProjectCategoryLast Update
0000465AI War 1 / ClassicCrash/ExceptionOct 14, 2010 2:28 am
ReporterEagleheart Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version3.712 
Summary0000465: Game Crashes On Ctrl Alt Delete
DescriptionWhen you use ctrl alt delete while the game is running it crashes with the following error:


Stack Trace:
10/13/2010 10:48:11 PM (3.712)
-----------------------------------Error-----------------------------------Log String: Failed to get cursor position:
Access is denied.

Stack Trace:
10/13/2010 10:48:11 PM (3.712)
-----------------------------------Error-----------------------------------Log String: Failed to get cursor position:
Access is denied.

Stack Trace:
TagsNo tags attached.
Internal Weight

Activities

keith.lamothe

Oct 14, 2010 2:20 am

administrator   ~0000812

Yes, this is a known bug with Unity:

http://answers.unity3d.com/questions/22345/failed-to-get-cursor-position-access-is-denied

keith.lamothe

Oct 14, 2010 2:23 am

administrator   ~0000814

Ah, actually it looks like they got back to us and indicated that we could probably avoid the problem by having the game not check for input when it doesn't have focus.

The difficulty there is that, to our knowledge, it is impossible for us to check for whether or not the game has focus ;)

keith.lamothe

Oct 14, 2010 2:28 am

administrator   ~0000815

Hmm, this looks promising, actually:

http://answers.unity3d.com/questions/17481/is-there-any-way-to-find-out-when-an-application-is-on-focus

OnApplicationPause()
OnApplicationFocus()

Apparently one of the goodies in the new Unity version :)

Issue History

Date Modified Username Field Change
Oct 14, 2010 2:04 am Eagleheart New Issue
Oct 14, 2010 2:20 am keith.lamothe Note Added: 0000812
Oct 14, 2010 2:20 am keith.lamothe Status new => resolved
Oct 14, 2010 2:20 am keith.lamothe Resolution open => fixed
Oct 14, 2010 2:20 am keith.lamothe Assigned To => keith.lamothe
Oct 14, 2010 2:23 am keith.lamothe Note Added: 0000814
Oct 14, 2010 2:28 am keith.lamothe Note Added: 0000815
Apr 14, 2014 9:27 am Chris_McElligottPark Category Bug - Crash or Exception => Crash/Exception