1. Active System Box: (set with Image, transparent borders and background, and text) Bug when Clicking as button causes crash
Using the Simulator
Printable View
1. Active System Box: (set with Image, transparent borders and background, and text) Bug when Clicking as button causes crash
Using the Simulator
Cannot reproduce, can you post an example file?
Sure!
Check out the first frame, when compiled as Xcode and in the simulator it crashes when pressed, I in my main game removed the object from the title frame and replaced with a Click on object event, and it worked, and in the game I disabled the button option in the ASB and used clicked on zone instead and it worked.
I can confirm that this crashes but it's not because of clicking the active system box, it's because of the extension system when changing frames.
Technical information:
It crashes in CExtension's kill method that happens at the end of the frame. It seems that "third party" extensions (like active system box that are more an extension than an inbuilt MMF2 object) will cause the crash.
It sends a kill message to an already released object (CRunKcBoxA in this case) which it what specifically causes the crash.
I can see that it first calls 'spriteKill' and then afterwards the 'kill' method which is where the 'destroyRunObject' message is sent to the deallocated instance.