Xenko 3.0.0.6 Game Studio continuous crashing

Good day,

I’m totally new to Xenko and have installed everything required to run the engine (VS Plugin + I already had VSC 2017).

The launcher runs fine,

However I noticed that each time I load the game studio (new project or even one of the examples provided), on initialisation, the studio suddenly crashes with the following crash log:

**Application: GameStudio**

** UserEmail: **
** UserMessage: **
** XenkoVersion: 3.0.0.6**
** GameStudioVersion: 4**
** ThreadName: EditorGameThread (MainScene)**
** DefaultGraphicProfile: Level_10_0**
** OpenedAssets: **
** LastActions: **
** CurrentDirectory: D:\XENKO**
** CommandArgs: **
** OsVersion: Microsoft Windows 10 Home 10.0.17134 x64**
** ProcessorCount: 4**
** Exception: IndexOutOfRangeException: Index was outside the bounds of the array.**
** at Xenko.Input.GameControllerDirectInput.Update(List1 inputEvents)** ** at Xenko.Input.InputManager.Update(GameTime gameTime)** ** at Xenko.Games.GameSystemCollection.Update(GameTime gameTime)** ** at Xenko.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)** ** at Xenko.Games.GameBase.InitializeBeforeRun()** ** at Xenko.Games.GamePlatform.OnInitCallback()** ** at Xenko.Games.GameWindowWinforms.Run()** ** at Xenko.Games.GameBase.Run(GameContext gameContext)** ** at Xenko.Assets.Presentation.AssetEditors.GameEditor.Services.EditorGameController1.SceneGameRunThread()**
** at Xenko.Core.Diagnostics.SafeAction.<>c__DisplayClass1_0.b__0()**
** at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)**
** at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)**
** at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)**
** at System.Threading.ThreadHelper.ThreadStart()**

** GPU0.AdapterCompatibility: NVIDIA**
** GPU0.AdapterDACType: Integrated RAMDAC**
** GPU0.AdapterRAM: 2147483648**
** GPU0.Availability: 8**
** GPU0.Caption: NVIDIA GeForce 820M**
** GPU0.ConfigManagerErrorCode: 0**
** GPU0.ConfigManagerUserConfig: False**
** GPU0.CreationClassName: Win32_VideoController**
** GPU0.Description: NVIDIA GeForce 820M**
** GPU0.DeviceID: VideoController1**
** GPU0.DriverDate: 20171204000000.000000-000**
** GPU0.DriverVersion: 23.21.13.8857**
** GPU0.InfFilename: oem164.inf**
** GPU0.InfSection: Section092**
** GPU0.InstalledDisplayDrivers: C:\WINDOWS\System32\DriverStore\FileRepository\nvam.inf_amd64_1aae4f19e68d0780\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvam.inf_amd64_1aae4f19e68d0780\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvam.inf_amd64_1aae4f19e68d0780\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvam.inf_amd64_1aae4f19e68d0780\nvldumdx.dll**
** GPU0.Monochrome: False**
** GPU0.Name: NVIDIA GeForce 820M**
** GPU0.PNPDeviceID: PCI\VEN_10DE&DEV_1140&SUBSYS_236A1043&REV_A1\4&30048545&0&00E4**
** GPU0.Status: OK**
** GPU0.SystemCreationClassName: Win32_ComputerSystem**
** GPU0.SystemName: ZXTL001**
** GPU0.VideoArchitecture: 5**
** GPU0.VideoMemoryType: 2**
** GPU0.VideoProcessor: GeForce 820M**
** GPU1.AdapterCompatibility: Intel Corporation**
** GPU1.AdapterDACType: Internal**
** GPU1.AdapterRAM: 1073741824**
** GPU1.Availability: 3**
** GPU1.Caption: Intel® HD Graphics 5500**
** GPU1.ConfigManagerErrorCode: 0**
** GPU1.ConfigManagerUserConfig: False**
** GPU1.CreationClassName: Win32_VideoController**
** GPU1.CurrentBitsPerPixel: 32**
** GPU1.CurrentHorizontalResolution: 1366**
** GPU1.CurrentNumberOfColors: 4294967296**
** GPU1.CurrentNumberOfColumns: 0**
** GPU1.CurrentNumberOfRows: 0**
** GPU1.CurrentRefreshRate: 59**
** GPU1.CurrentScanMode: 4**
** GPU1.CurrentVerticalResolution: 768**
** GPU1.Description: Intel® HD Graphics 5500**
** GPU1.DeviceID: VideoController2**
** GPU1.DitherType: 0**
** GPU1.DriverDate: 20161110000000.000000-000**
** GPU1.DriverVersion: 20.19.15.4549**
** GPU1.InfFilename: oem45.inf**
** GPU1.InfSection: iBDWM_w10**
** GPU1.InstalledDisplayDrivers: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll**
** GPU1.MaxRefreshRate: 60**
** GPU1.MinRefreshRate: 23**
** GPU1.Monochrome: False**
** GPU1.Name: Intel® HD Graphics 5500**
** GPU1.PNPDeviceID: PCI\VEN_8086&DEV_1616&SUBSYS_236A1043&REV_09\3&11583659&1&10**
** GPU1.Status: OK**
** GPU1.SystemCreationClassName: Win32_ComputerSystem**
** GPU1.SystemName: ZXTL001**
** GPU1.VideoArchitecture: 5**
** GPU1.VideoMemoryType: 2**
** GPU1.VideoModeDescription: 1366 x 768 x 4294967296 colors**
** GPU1.VideoProcessor: Intel® HD Graphics Family**
** Log: 1: [SceneEditorGame]: Error: Unexpected exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.**
** at Xenko.Input.GameControllerDirectInput.Update(List1 inputEvents)** ** at Xenko.Input.InputManager.Update(GameTime gameTime)** ** at Xenko.Games.GameSystemCollection.Update(GameTime gameTime)** ** at Xenko.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)** ** at Xenko.Games.GameBase.InitializeBeforeRun()** ** 2: [SafeAction]: Fatal: Unexpected exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.** ** at Xenko.Input.GameControllerDirectInput.Update(List1 inputEvents)**
** at Xenko.Input.InputManager.Update(GameTime gameTime)**
** at Xenko.Games.GameSystemCollection.Update(GameTime gameTime)**
** at Xenko.Editor.EditorGame.Game.EditorServiceGame.Update(GameTime gameTime)**
** at Xenko.Games.GameBase.InitializeBeforeRun()**
** at Xenko.Games.GamePlatform.OnInitCallback()**
** at Xenko.Games.GameWindowWinforms.Run()**
** at Xenko.Games.GameBase.Run(GameContext gameContext)**
** at Xenko.Assets.Presentation.AssetEditors.GameEditor.Services.EditorGameController`1.SceneGameRunThread()**
** at Xenko.Core.Diagnostics.SafeAction.<>c__DisplayClass1_0.b__0()**

Any idea what the problem might be ? It’s an 8gb RAM system with an Intel i5 processor, so I guess it can at least run the engine ok.

Thanks

What devices are connected to your machine (mouse, keyboard, game controllers, touchpad, etc.)? It seems like one of them is causing the exception.

Good day,

I have:

  • Logitech USB hub (need it to connect my wireless keyboard and mouse).

That’s about it really.

I don’t see why such a thing will cause an engine crash. Seems odd.

Not sure either but the log doesn’t contain that error:

I wonder if the input manager is confused because both devices use the same Id (from the hub) or something.

If you have a wire mouse and/or keyboard, could you try connecting those instead and see if the issue persists?