Hisashimaru Posted July 28, 2013 Share Posted July 28, 2013 Program will crash when remove the entity use with of self.entity:Release(). Link to comment Share on other sites More sharing options...
Rick Posted July 28, 2013 Share Posted July 28, 2013 I noticed the same issue. In my case I had a child emitter so wasn't sure if that's what caused it when I released the parent. Link to comment Share on other sites More sharing options...
Admin Posted August 30, 2013 Share Posted August 30, 2013 This can occur in collision callbacks because the engine is iterating through a list. Link to comment Share on other sites More sharing options...
Admin Posted August 30, 2013 Share Posted August 30, 2013 In the next update I implemented a technique that should prevent these type of problems. The reference counting will be suspended during the loop, and then all released objects will be deleted after the loop. Link to comment Share on other sites More sharing options...
Recommended Posts