View Issue Details

IDProjectCategoryLast Update
0002189AI War 1 / ClassicGUIJan 3, 2011 11:43 am
Reporterzazery Assigned ToChris_McElligottPark  
Status closedResolutionnot fixable 
Product Version4.021 
Summary0002189: Keyboard input stops working when Xbox 360 controller loses connection
DescriptionI have an Xbox 360 wireless receiver for my PC and before playing AI War I was playing a different game that used it. During a campaign with a friend my controller turned off to save power and then AI War stopped accepting all keyboard input such as ESC to get to the game menu or the enter key to chat with other players. However, if I clicked "Messages" I could type in the text box and click "Send" to send the message so not all keyboard input was lost.

Here's how to reproduce it 100% of the time:

1. Turn on wireless Xbox 360 controller
2. Remove the battery from the controller
3. Start campaign in AI War
4. Bug: Keyboard input stops being accepted

It's not a big deal since I just need to remember to turn off my controller before starting AI War. If you do not have an Xbox 360 controller I would be happy to do regression testing for you.

Other info:
- Windows 7 64-bit
- Using Steam
- Expansions: Zenith Remnant, Children of Nienzul
- Happens in full screen and windowed modes
- Alt-tab and returning to the game does not fix it
- Turning on the controller does not fix it
TagsNo tags attached.
Internal Weight

Activities

zazery

Dec 29, 2010 8:39 pm

reporter  

ErrorsReportedByEngine.txt (1,962 bytes)   
12/27/2010 1:52:46 AM (4.021)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 
12/27/2010 1:59:14 AM (4.021)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 
12/27/2010 3:06:36 AM (4.021)
-----------------------------------Exception-----------------------------------Log String: NullReferenceException: Object reference not set to an instance of an object
Stack Trace: GameButton.RenderSelf (Rect buttonRect, Boolean IsEnabled)
ArcenButtonSetSelfRender.Render (Rect ParentBounds, Vector2 EffectiveScrollPosition, Vector3 MousePositionFromTopLeft)
AbstractArcenWindow.WindowFunctionCall (Int32 WindowID)
UnityEngine.GUI+_Window.Do ()
UnityEngine.GUI.EndWindows (UnityEngine.IDList idlist)
UnityEngine.GUIUtility.EndGUI (Int32 doLayout, Int32 doWindows, UnityEngine.IDList idlist)

12/27/2010 10:55:18 PM (4.021)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 
12/27/2010 11:15:40 PM (4.021)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 
12/27/2010 11:19:42 PM (4.021)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 
12/29/2010 5:01:35 PM (4.058)
-----------------------------------
ErrorsReportedByEngine-----------------------------------
12/29/2010 5:01:35 PM (4.058)
-----------------------------------Error-----------------------------------Log String: <RI.Hid> Failed to read input report:
The device is not connected.

Stack Trace: 


ErrorsReportedByEngine.txt (1,962 bytes)   

zazery

Dec 29, 2010 8:55 pm

reporter   ~0007235

I updated to 4.058 and the issue still happens but the game notified me that it wrote some info to ErrorsReportedByEngine. I've attached the file but it's not the most descriptive error message.

TechSY730

Dec 29, 2010 9:39 pm

reporter   ~0007238

Well, yea. The device is not connected because you just unplugged it. What part of that doesn't make sense? :P

Seriously though, it just seems like the engine is getting confused about which input devices it should listen to. My guess is that the engine is treating the XBox controller as a keyboard, so it thinks the keyboard in general is gone when it gets unplugged, even though there is another keyboard input (your actual keyboard) that still works just fine.

Not sure if it is a Unity issue, or an AI War issue, or AI War not being specific enough about what types of input to ask Unity to listen to.

Chris_McElligottPark

Jan 3, 2011 11:43 am

administrator   ~0007361

Unfortunately, we don't have any XBox 360 controllers to test with. But, the error message you've posted makes it pretty clear it is an underlying bug in the Unity engine. That's something that we have to basically wait until they fix it. :/

Issue History

Date Modified Username Field Change
Dec 28, 2010 2:21 am zazery New Issue
Dec 29, 2010 8:39 pm zazery File Added: ErrorsReportedByEngine.txt
Dec 29, 2010 8:55 pm zazery Note Added: 0007235
Dec 29, 2010 9:39 pm TechSY730 Note Added: 0007238
Jan 3, 2011 11:43 am Chris_McElligottPark Note Added: 0007361
Jan 3, 2011 11:43 am Chris_McElligottPark Status new => closed
Jan 3, 2011 11:43 am Chris_McElligottPark Assigned To => Chris_McElligottPark
Jan 3, 2011 11:43 am Chris_McElligottPark Resolution open => not fixable
Apr 14, 2014 9:28 am Chris_McElligottPark Category Bug - UI => GUI