In the default functions, line 106 loads a graphic from file if it is not in cache. If the bitmapdata fails creation, it sounds like access to file is denied, the application doesn't get enough RAM or the graphic is invalid. Does the map work if you just start the game there instead of coming from somewhere else?
No let me change that question a bit, if "everything works as planned" before you were in a battle, does the map-transfer work aswell until then?
~炬燵あ
To my knowledge, there isn’t any corrupt files that I know of lol but basically when I just transfer from door to door (go from map a to map b) it never crashes. Most of the dungeon’s map is on map b, so it takes a bit longer to load, but it never crashes. As soon as I battle a single enemy on map a, and then I transfer to map b, I get the error during the fade out transition. It makes no sense to me.
where those larger maps back to back or where always smaller maps between them?
I might be wrong but I vaguely remember that when changing maps in VXA, the new map had to be loaded completely before the old map's memory usage could be released.
so if you go from one big parallax to another big parallax, you'll need the memory to keep both at the same time. while you can have larger single maps as long as any map loaded from them is much smaller in itself.
and memory overflow is one of the causes that can crash a program hard like already mentioned above
EDIT:
and by the way, how big are those maps either way? Our numbers for "big" might be different than yours and if the maps are smaller than what we think, a memory overflow would be unlikely.
we need some absolute numbers on your maps to decide on that.
The bigger maps I have, have always been just single maps that are larger. One is 15,911 kb and everything is on the same map, and it never crashes. This dungeon is split into two parallax maps that are 4,935 kb and 7,038 kb respectively. The only thing I think might me effecting it is that there is a lot of events on both, but I’m not sure.
When I show the console, I know it’s gonna crash when it just loads the name for map b’s parallax map, and nothing else shows up in the notes. I just wish I could understand what specific thing is leading to this crash.
So you thinking it might just have to do with my computer not being able to render the second map at times due to memory overload?