• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

[Indev 0.47.1] No Audio Output Device Results in Crash

Tornado9797

Content Developer
P3D Developer
Global Moderator
I decided to check my summary screen while a Team Rocket Grunt was talking (middle-click default) and it crashed the game. I caught an Ariados.
Code:
Kolben Games Crash Log V 2.1
Pokémon 3D has crashed!
// Blame Darkfire.

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.47.1 (76)
Content Packs: {Pokémon Models Pack}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (32436)
Playing on Servers: FALSE
Game Environment: PokemonStatusScreen
Actionscript: No script running
File Validation: True

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 8.1 [6.2.9200.0]
System time: 5/14/2014 4:55:28 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "AMD Radeon HD 8570D"]
[CardRAM(s) : "805306368"]

---------------------------------------------------------------------------------

Error information:

Message: Object reference not set to an instance of an object.
InnerException: NOTHING
BaseException: Object reference not set to an instance of an object.
HelpLink: No helplink available.
Data: Items: 0
Source: 2.5DHero

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at _2._5DHero.SoundManager.PlayPokemonCry(Int32 Number, Single Pitch)
   at _2._5DHero.Pokemon.PlayCry()
   at _2._5DHero.PokemonStatusScreen.ChangeTo()
   at _2._5DHero.Basic.SetScreen(Screen newScreen)
   at _2._5DHero.OverworldScreen.Update()
   at _2._5DHero.Basic.Update(GameTime gameTime)
   at _2._5DHero.DGame.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.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at Microsoft.Xna.Framework.Game.Run()
   at _2._5DHero.Program.Main(String[] args)

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
Edit: I did some testing. This happens regardless of whether or not I'm talking with someone (still middle-clicking). Also my Content Pack being present does not affect this crash.

Edit 2: More testing. This occurs regardless of how I access the summary screen and what Pokémon I am viewing.
 

Fanta

Content Developer
P3D Developer
Global Moderator
I decided to check my summary screen while a Team Rocket Grunt was talking (middle-click default) and it crashed the game. I caught an Ariados.
Code:
Kolben Games Crash Log V 2.1
Pokémon 3D has crashed!
// Blame Darkfire.

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.47.1 (76)
Content Packs: {Pokémon Models Pack}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (32436)
Playing on Servers: FALSE
Game Environment: PokemonStatusScreen
Actionscript: No script running
File Validation: True

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 8.1 [6.2.9200.0]
System time: 5/14/2014 4:55:28 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "AMD Radeon HD 8570D"]
[CardRAM(s) : "805306368"]

---------------------------------------------------------------------------------

Error information:

Message: Object reference not set to an instance of an object.
InnerException: NOTHING
BaseException: Object reference not set to an instance of an object.
HelpLink: No helplink available.
Data: Items: 0
Source: 2.5DHero

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at _2._5DHero.SoundManager.PlayPokemonCry(Int32 Number, Single Pitch)
   at _2._5DHero.Pokemon.PlayCry()
   at _2._5DHero.PokemonStatusScreen.ChangeTo()
   at _2._5DHero.Basic.SetScreen(Screen newScreen)
   at _2._5DHero.OverworldScreen.Update()
   at _2._5DHero.Basic.Update(GameTime gameTime)
   at _2._5DHero.DGame.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.RunOneFrame()
   at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)
   at Microsoft.Xna.Framework.WindowsGameHost.Run()
   at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
   at Microsoft.Xna.Framework.Game.Run()
   at _2._5DHero.Program.Main(String[] args)

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
Edit: I did some testing. This happens regardless of whether or not I'm talking with someone (still middle-clicking). Also my Content Pack being present does not affect this crash.

Edit 2: More testing. This occurs regardless of how I access the summary screen and what Pokémon I am viewing.
hmm.....mine is working fine, middle-mouse click and normal checking both work
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Not a bug. I didn't have an audio device plugged in. Once I did, everything worked fine.
 

nilllzz

Original Developer
Administrator
P3D Developer
Not a bug. I didn't have an audio device plugged in. Once I did, everything worked fine.
I will move this to Community Support. Didn't know the no-audio-device also affects sound effects. Will fix.
 
Top