PDA

View Full Version : Error log, Can't play game :(


eliff2008
04-06-2010, 12:06 PM
I played this awesome indie game when it came to the EuroGamer Expo in leeds, so ofcoarse decided to buy it, but whenever I try to play it I get the critical error message. The error log is as follows,

System.InvalidOperationException: This resource could not be created.
at Microsoft.Xna.Framework.Audio.AudioEngine..ctor(St ring settingsFile, TimeSpan lookAheadTime, String rendererId)
at Microsoft.Xna.Framework.Audio.AudioEngine..ctor(St ring settingsFile)
at BeatEngine.ScreenSystem.ScreenManager.LoadContent( )
at Microsoft.Xna.Framework.DrawableGameComponent.Init ialize()
at Microsoft.Xna.Framework.Game.Initialize()
at PlainSight.PlainSight.Initialize()
at Microsoft.Xna.Framework.Game.Run()
at PlainSight.Program.Main(String[] args)

Please please help, I want to play the game :( I've tried comp restarts / file verification / defragmentation of game files / uninstallation and reinstallation of game files lots, even tried deleting the files directly.

Wikkit
04-06-2010, 05:52 PM
Bump, exact same problem, reinstalling does not fix it

eliff2008
04-06-2010, 05:52 PM
Yay! I'm not alone :)

ColdEquation
04-06-2010, 06:24 PM
Looks very similar to an issue I discovered when developing with XNA on Windows Vista. The problem was that the system's default audio device was set to some speakers that weren't plugged in. The fix was changing the default to another device associated with my sound card. You can do this by right clicking the volume icon on the taskbar > Playback Devices, and right clicking something like "Digital Audio Interface" to set as the default instead of "Speakers".

Wikkit
04-06-2010, 07:07 PM
I can verify that this has indeed fixed my problem! thanks!

BigBird
04-06-2010, 07:15 PM
Yes also fixed my problem thanks ColdEquation, strange Microsoft would release something that is not fully compatible with their own OS(s) *smirk*

manstie
04-06-2010, 07:42 PM
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PlainSight.CTFRuleset.HandleRuleUpdates()
at PlainSight.CTFRuleset.Update(Single elapsedTime)
at PlainSight.GameplayScreen.Update()
at BeatEngine.ScreenSystem.ScreenManager.Update(GameT ime gameTime)
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
at PlainSight.PlainSight.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.Applicatio nIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at PlainSight.Program.Main(String[] args)

What about for that one?

Terry Pie
04-06-2010, 09:53 PM
Looks very similar to an issue I discovered when developing with XNA on Windows Vista. The problem was that the system's default audio device was set to some speakers that weren't plugged in. The fix was changing the default to another device associated with my sound card. You can do this by right clicking the volume icon on the taskbar > Playback Devices, and right clicking something like "Digital Audio Interface" to set as the default instead of "Speakers".

I've only got the option of "speakers". This is because I have disabled my onboard sound [through the device manager] and got rid of all its drivers etc as it was causing BSODs to occur since I installed a soundcard. Is there any way around this for me or is the only way to re-enable the onboard and deal with the wrath of the evil blue screen?

insurgent_x
04-06-2010, 10:15 PM
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PlainSight.CTFRuleset.HandleRuleUpdates()
at PlainSight.CTFRuleset.Update(Single elapsedTime)
at PlainSight.GameplayScreen.Update()
at BeatEngine.ScreenSystem.ScreenManager.Update(GameT ime gameTime)
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
at PlainSight.PlainSight.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.Applicatio nIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at PlainSight.Program.Main(String[] args)

What about for that one?

I'm getting much the same thing:

System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Lidgren.Network.NetBitWriter.ReadByte(Byte[] fromBuffer, Int32 numberOfBits, Int32 readBitOffset)
at Lidgren.Network.NetBitWriter.ReadUInt32(Byte[] fromBuffer, Int32 numberOfBits, Int32 readBitOffset)
at Lidgren.Network.NetBuffer.ReadUInt16()
at Lidgren.Network.Xna.XnaSerialization.ReadHalfPreci sionVector3(NetBuffer buffer)
at PlainSight.CTFRuleset.HandleRuleUpdates()
at PlainSight.CTFRuleset.Update(Single elapsedTime)
at PlainSight.GameplayScreen.Update()
at BeatEngine.ScreenSystem.ScreenManager.Update(GameT ime gameTime)
at Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
at PlainSight.PlainSight.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.Applicatio nIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.Run()
at PlainSight.Program.Main(String[] args)


My rudimentary research indicates that this is related to a C++ array issue. I have no idea what that means.

Source: http://channel9.msdn.com/forums/TechOff/123777-Index-was-outside-the-bounds-of-the-array/

hamai
04-06-2010, 10:43 PM
i got indexOutOfBounds in CTF server too...

insurgent_x
04-06-2010, 10:55 PM
i got indexOutOfBounds in CTF server too...

Post the full error log. They won't be able to tell what exactly went wrong without it, brother.

hamai
04-06-2010, 11:03 PM
I posted on another thread, it's the same error manstie got

System.IndexOutOfRangeException: O índice estava fora dos limites da matriz.
em PlainSight.CTFRuleset.HandleRuleUpdates()
em PlainSight.CTFRuleset.Update(Single elapsedTime)
em PlainSight.GameplayScreen.Update()
em BeatEngine.ScreenSystem.ScreenManager.Update(GameT ime gameTime)
em Microsoft.Xna.Framework.Game.Update(GameTime gameTime)
em PlainSight.PlainSight.Update(GameTime gameTime)
em Microsoft.Xna.Framework.Game.Tick()
em Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
em Microsoft.Xna.Framework.GameHost.OnIdle()
em Microsoft.Xna.Framework.WindowsGameHost.Applicatio nIdle(Object sender, EventArgs e)
em System.Windows.Forms.Application.ThreadContext.Sys tem.Windows.Forms.UnsafeNativeMethods.IMsoComponen t.FDoIdle(Int32 grfidlef)
em System.Windows.Forms.Application.ComponentManager. System.Windows.Forms.UnsafeNativeMethods.IMsoCompo nentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
em System.Windows.Forms.Application.ThreadContext.Run MessageLoopInner(Int32 reason, ApplicationContext context)
em System.Windows.Forms.Application.ThreadContext.Run MessageLoop(Int32 reason, ApplicationContext context)
em System.Windows.Forms.Application.Run(Form mainForm)
em Microsoft.Xna.Framework.WindowsGameHost.Run()
em Microsoft.Xna.Framework.Game.Run()
em PlainSight.Program.Main(String[] args)

eliff2008
04-07-2010, 02:07 AM
Looks very similar to an issue I discovered when developing with XNA on Windows Vista. The problem was that the system's default audio device was set to some speakers that weren't plugged in. The fix was changing the default to another device associated with my sound card. You can do this by right clicking the volume icon on the taskbar > Playback Devices, and right clicking something like "Digital Audio Interface" to set as the default instead of "Speakers".

Sir, I love you :D