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

Not a bug [0.37] Missing texture when downloading online profile

ajp15243

Starting Trainer
I found this game yesterday and installed it, when it was still version 0.36.4. I created a GameJolt account and online profile and played a bit.

Today, I updated to version 0.37, started the game, logged into GameJolt, and hit the Play Online button. The game started downloading my profile, but stopped and seemed to hang at 100% downloading for a minute or so. Then it crashed with the below error, complaining about a missing emblem texture file.

I was unable to reproduce the problem, despite trying again several times (i.e. hitting "Play Online" nearly immediately loaded my profile correctly and I was able to go in game).

Possibly related but different issue: I did get an exception in the launcher when I opened the launcher, quickly hit the "Download Latest Version" button to open the downloader modal window, then at the same time got the "Do you want to update to the latest version?" modal window that pops up when the auto-check for updated versions option is ticked on. Not being terribly familiar with the update flow of the launcher (and not realizing at first it was from the auto-update check), I hit "Yes" to the second modal window, thinking that was just confirming my download of the latest version via my button click. An exception popped up saying something about a Windows Form being unable to be displayed again as a modal window, which I now assume means it was basically complaining that the download Windows Form was already open in a dialog due to my pressing of the update button by the time the auto-updater tried launching the download dialog. Unfortunately I didn't save that stack trace, but I reproduced it once before figuring out what was going on. Should be reproducible by enabling check-for-updates on a not up-to-date version of the game, and quickly hitting the Download New Version button on starting the launcher to open the download dialog, then hitting Yes to auto-update checker dialog. Perhaps this caused the game to be in a bad state somehow until the crash from the texture file, wherein restarting the launcher and game restored a good state? Just a guess on my part, not sure if there are related parts between the crash and the download exception.

Texture crash log:
Code:
Pokémon 3D has crashed!
---------------------------

System specifications: 
Pokémon 3D version: 0.37
Operating system: Microsoft Windows 7 Professional  [6.1.7601.65536]
System time: 10/1/2013 10:56:58 PM
System language: ENU
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: FALSE
Game environment: MainMenuScreen
---------------------------

Here is further information:
Message: Texture "D:\Games\Pokemon3D\Pokemon\Content\Textures\Emblem\0" not found!
InnerException: NOTHING
BaseException: Texture "D:\Games\Pokemon3D\Pokemon\Content\Textures\Emblem\0" not found!
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: 2.5DHero
TargetSite: Name: GetTexture [
   Attributes: PrivateScope, Public, Static
   CallingConvention: Standard
   ContainsGenericParameters: False
   DeclaringType: _2._5DHero.Textures
   IsAbstract: False
   IsAssembly: False
   IsConstructor: False
   IsFamily: False
   IsFamilyAndAssembly: False
   IsFamilyOrAssembly: False
   IsFinal: False
   IsGenericMethod: False
   IsGenericMethodDefinition: False
   IsHideBySig: False
   IsPrivate: False
   IsPublic: True
   IsSecurityCritical: True
   IsSecuritySafeCritical: False
   IsSecurityTransparent: False
   IsSpecialName: False
   IsStatic: True
   IsVirtual: False
   MemberType: Method
   MetadataToken: 100666319
   MethodHandle: System.RuntimeMethodHandle
   Module: 2.5DHero.exe
   ReflectedType: _2._5DHero.Textures
   ]

StackTrace:    at _2._5DHero.Textures.GetTexture(String Name)
   at _2._5DHero.GameJolt.Emblem.GetEmblemBackgroundTexture(String emblemName)
   at _2._5DHero.GameJolt.Emblem.Draw(String Name, String ID, Int32 Points, String Gender, String EmblemBackground, Vector2 Position, Int32 Size)
   at _2._5DHero.MainMenuScreen.DrawLoadGameJoltSaveMenu()
   at _2._5DHero.MainMenuScreen.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)

You should report this error.

Go to "http://pokemon3d.net/forums/6/create-thread/" to report this crash there.
 

Jayson583

Dragon Tamer
I've been having that exact same problem, that being after several minutes of loading after hitting the play online button ( up to 20 minutes, not sure if this is norm as I just started playing today) I click my profile to load it and 95% of the time the game crashes with the texture message. I've managed to load successfully a couple times but since then every time I do manage to successfully load it the game starts me at the beginning instead of at my proper save location. As it stands online is unplayable for me (though offline play works flawlessly). Anyone know a fix for this?
 

ajp15243

Starting Trainer
FYI, this just happened twice in a row. This time I was fiddling with the hour setting of my system clock (Windows 7, if you didn't snoop my crash log yet), both while the game was not running and while the game was running (the time of day switched immediately at the main menu when the system clock was switched). I'm guessing that is unrelated, though, as I didn't touch my system time when this happened right before my original post.

I did a diff in Notepad++, and the generated crash reports for both instances are identical to each other, and identical to my original crash report (other than time stamp obviously). These both occurred after I had successfully logged into the game and played around a bit (before that my machine had been shut down). I had then quit the game to experiment with the system time, and went through several bouts of my profile taking "forever" to load (I gave up waiting and restarted the whole game a few times). Then I encountered the error twice (profile downloading was hanging before each error). Then it successfully loaded my profile instantly.
 

nilllzz

Original Developer
Administrator
P3D Developer
It's probably some kind of server response problem. When the game cannot download the information from the server correctly, the value for what emblem it should display stays empty, so the game crashes.
 
Top