[X] Strange error message while loading after a death.

We've got to make the level designer as sleek as possible. Submit all the bugs you find. One topic per bug, please.

[X] Strange error message while loading after a death.

Postby Triple J » Thu Sep 18, 2014 1:20 am

Error message: show
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at com.runouw.ll.engine.core::TileBitmapData()
at com.runouw.ll.engine.levelData.items.data.platforms::Item_Block/attach()
at com.runouw.ll.engine.core::Course/attachingItemsFrame()

I have no idea what went wrong, but this randomly popped up after one of my deaths, and then the game stopped responding, so I had to close it out forcefully. I wonder why I got this...
Image
My biggest Last Legacy project!
It all comes together right here!
Join the fun and make the list!
User avatar
Triple J
 
Posts: 348
Joined: Wed Aug 13, 2014 6:46 pm
Location: Withheld.

Re: [X] Strange error message while loading after a death.

Postby Triple J » Sun Sep 21, 2014 9:42 pm

Another similar error message: show
ArgumentError: Error #2015: Invalid BitmapData.
at flash.display::BitmapData/ctor()
at flash.display::BitmapData()
at com.runouw.ll.engine.levelData.items.data.platforms::Item_Planet/attach()
at com.runouw.ll.engine.core::Course/attachingItemsFrame()

I just got a similar error message as I was going through an Up-Down Level Splitter (it only loaded halfway past the loading bar, before stalling). I can't really elaborate, but this indeed happened in the same [left-right] transition as before.

I'm afraid this may actually be a level-specific issue, though, but the level I've experienced these errors with is still a WIP. However, I am actually pretty close to finishing it; I'm pretty much done with the final section, therefore - after that - I just need to design the big boss battle (and maybe an ending sequence), so hopefully my level will be finished before it is too late to look into these two errors messages. ...Unless it happens to be a general issue that can occur in any level, or if it could be solved technically without me having to provide the level code.
Image
My biggest Last Legacy project!
It all comes together right here!
Join the fun and make the list!
User avatar
Triple J
 
Posts: 348
Joined: Wed Aug 13, 2014 6:46 pm
Location: Withheld.

Re: [X] Strange error message while loading after a death.

Postby Runouw » Mon Sep 22, 2014 12:51 am

This bug occurs when the game cannot create a bitmap for "Block" and "Planet" items. The ways this error could have been triggered are:
1.) You made a planet or block with more than 16 million pixels in it (this probably isn't the case)
2.) The Flash-Player runtime was unable to allocate enough memory to create the bitmap.

This error is only likely to occur in levels that use too many "Block" and "Planet" items. There's not much I can do to fix this at the moment (except force the game to free memory before a level loads. Which would only prolong the error). If you want to avoid it, you can use less of these items in your level or split your level into a series.

I apologize that this error can cause the game to hang and ultimately crash.
User avatar
Runouw
Site Admin
 
Posts: 72
Joined: Fri Jul 18, 2014 6:35 pm


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests

cron