I’ve got a weapon that shoots a ball and hits a little box. The box is a sensor and I have 3 filters set up:
EverythingCollisionFilter = { categoryBits = 1, maskBits = 65535 }
LampCollisionFilter = { categoryBits = 2, maskBits = 3 }
PowerUpCollisionFilter = { categoryBits = 4, maskBits = 1 }
The idea is that the lamp and powerup will not collide but everything else will collide with each other.
The bug occurs at random. If I play for a few mins shooting it will eventually hit a powerup and the simulator locks up. It used to give me some sort of error about “locked and somethingAABB” in the older version of Corona (purchased and downloaded the new version today). I now only get the crash report from apple which I’ve included below.
I really am looking to figure out what is going on here as I have no idea how to track this one down. Can anyone make sense of this?
Thanks for any and all help!
Process: Corona Simulator [15347]
Path: /Applications/CoronaSDK/Corona Simulator.app/Contents/MacOS/Corona Simulator
Identifier: com.anscamobile.Corona_Simulator
Version: ??? (2011.591)
Code Type: X86 (Native)
Parent Process: Corona Project Manager [15308]
Date/Time: 2011-08-02 14:27:47.978 -0400
OS Version: Mac OS X 10.7 (11A511)
Report Version: 9
Interval Since Last Report: 535742 sec
Crashes Since Last Report: 65
Per-App Interval Since Last Report: 1659 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 0D2FE95C-DFA2-47B9-9450-0BDE07B72C2E
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000006 [import]uid: 27681 topic_id: 13193 reply_id: 313193[/import]