This is a serious bug!
Talk about it in this thread:
http://developer.anscamobile.com/forum/2011/01/08/ansca-any-updates-physics-bodies-not-being-garbage-collected
During a chat with skype, Carlos confirm that this is set to high priority.
Marco
gugugames.net
[import]uid: 7518 topic_id: 3988 reply_id: 20149[/import]
I have a solution !
Don’t call addBody
Just kidding. I think I found the bug.
C. [import]uid: 24 topic_id: 3988 reply_id: 20159[/import]
Go Carlos go!
Marco
gugugames,net
[import]uid: 7518 topic_id: 3988 reply_id: 20166[/import]
Oh great! I hope to see an update soon then! [import]uid: 26547 topic_id: 3988 reply_id: 20343[/import]
Any news? [import]uid: 26547 topic_id: 3988 reply_id: 21383[/import]
@svartsomnatten
Build 277 Fix memory leak when using addBody() - case 2153
Marco
gugugames.net
[import]uid: 7518 topic_id: 3988 reply_id: 21702[/import]
Thank you! I don’t have access to the daily builds though, I guess I’ll have to wait (?) [import]uid: 26547 topic_id: 3988 reply_id: 21707[/import]
pt1
February 9, 2011, 6:28am
28
Great news!! [import]uid: 30185 topic_id: 3988 reply_id: 21708[/import]
crssmn
February 11, 2011, 7:30pm
29
Thanks also, this makes such a big difference. [import]uid: 10903 topic_id: 3988 reply_id: 22290[/import]
emf715
February 28, 2011, 6:56pm
30
adding my name to the conversation. This bug is holding up my shipping. [import]uid: 13529 topic_id: 3988 reply_id: 25599[/import]
@emf715 the bug has been fixed in the latest build available in the daily drops for subscribers.
c. [import]uid: 24 topic_id: 3988 reply_id: 25604[/import]
emf715
February 28, 2011, 7:37pm
32
That’s what I had thought, but when I run build 307, a get the following when the level begins to load:
/Applications/Corona.2011.307/Corona Terminal: line 9: 6264 Bus error “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
[import]uid: 13529 topic_id: 3988 reply_id: 25610[/import]
@emf715 that would be a different bug as the bug here was about removeSelf()
any code you can provide that I can see where the problem is?
Also, make sure that your require are “case sensitive” matches as the mobile devices are finicky. MD are case sensitive.
C. [import]uid: 24 topic_id: 3988 reply_id: 25611[/import]
emf715
March 1, 2011, 8:36am
34
Carlos: I sent my code to Sean (I had his address not yours). Depending on whether the original object is an image, movieclip, or sprite affects how the ‘phantom’ physics body acts, but it remains behind in all cases.
[import]uid: 13529 topic_id: 3988 reply_id: 25709[/import]
tsawan
March 10, 2011, 2:38am
35
When can we (non subscribers) expect the new release? This is important to get rid of memory leaks due to addBody calls.
[import]uid: 12109 topic_id: 3988 reply_id: 27182[/import]