• ✨ 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

Solved [0.40] The game crashes when I go to bill's PC to move some pokemon

LoneLeif

Starting Trainer
I'm kinda disappointed that this happened again even after the update. -.-
Yeah, I also experienced this in 0.39 ver.
[ I don't really want to wait for a month for a new update, so I wonder if there is a way for me to fix it. ]
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 7 Ultimate  [6.1.7601.65536]
System time: 12/11/2013 6:01:09 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (74139)
Game environment: StorageSystemScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: Insufficient memory to continue the execution of the program.
InnerException: NOTHING
BaseException: Insufficient memory to continue the execution of the program.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.Xna.Framework.Graphics
TargetSite: Name: CreateTexture [
  Attributes: PrivateScope, FamANDAssem, HideBySig
  CallingConvention: Standard, HasThis
  ContainsGenericParameters: False
  DeclaringType: Microsoft.Xna.Framework.Graphics.Texture2D
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: True
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: False
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: False
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663862
  MethodHandle: System.RuntimeMethodHandle
  Module: Microsoft.Xna.Framework.Graphics.dll
  ReflectedType: Microsoft.Xna.Framework.Graphics.Texture2D
  ]

StackTrace:    at Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
  at Microsoft.Xna.Framework.Graphics.RenderTarget2D.CreateRenderTarget(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat, Int32 preferredMultiSampleCount, RenderTargetUsage usage)
  at Microsoft.Xna.Framework.Graphics.RenderTarget2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat preferredFormat, DepthFormat preferredDepthFormat)
  at _2._5DHero.ModelManager.DrawModelToTexture(String modelName, Vector2 texSize, Vector3 offset, Vector3 camSet, Single Scale, Boolean enableLight)
  at _2._5DHero.StorageSystemScreen.Draw3DModel(Pokemon p, String modelName)
  at _2._5DHero.StorageSystemScreen.DrawPokemonStatus()
  at _2._5DHero.StorageSystemScreen.Draw()
  at _2._5DHero.Basic.Draw()
  at _2._5DHero.DGame.Draw(GameTime gameTime)
  at Microsoft.Xna.Framework.Game.DrawFrame()
  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)
 

MrHippocrit

Champion
Trusted Support
Retired Mod
Know that the release of an update after a month, wasn't part of the schedule, a lot of reasons were the cause of that.
(My english is bullocks atm.)

Obviously, while looking at the crash error message, it says something about insufficient RAM.
This either means the game is pulling at RAM at an incredible rate or Microsoft's Xna orsomething is being annoying. I'd wait for someone with more knowledge to reply.

Does this happen everytime you open the storage?
 

LoneLeif

Starting Trainer
Know that the release of an update after a month, wasn't part of the schedule, a lot of reasons were the cause of that.
(My english is bullocks atm.)

Obviously, while looking at the crash error message, it says something about insufficient RAM.
This either means the game is pulling at RAM at an incredible rate or Microsoft's Xna orsomething is being annoying. I'd wait for someone with more knowledge to reply.

Does this happen everytime you open the storage?
I see.
Yes, it does happen everytime I open the storage.
 

bhuvan

Trainer
it works for just a little bit more time than it did while enbling the 3d models
the problem still exists
 

MrHippocrit

Champion
Trusted Support
Retired Mod
Hrm, okay, fair enough. Nilllzz can you limit the max RAM to 1,5 gigs? That should be enough, right? Then again, his OS is also taking up some RAM..... hrm.
 

nilllzz

Original Developer
Administrator
P3D Developer
The problem is that XNA won't let you garbage collect the unused models and you can't clear the content manager which loaded them. But without models, it shouldn't be a problem because it dismisses every texture/sound/music file it doesn't need anymore.
 
Top