Game Development Community

t2dsceneContainer::destroyContainerBins() Error

by Vladan Markovic · in Torque Game Builder · 12/02/2011 (1:25 pm) · 1 replies

Hi,

I am having error, when loading new level, it happens on some levels , but not on all:
"t2dSceneContainer::destroyContainerBins() - Object(s) were not removed from the container system correctly!"

This probably means that some t2dScene object is not deleted before deleting scenegraph, but i how to trace which object is that.
Im looking trough my code for 100th time and i just cant find anything that might be the problem,
is there any technic that can help me trace problem, i am siting in the dark atm.

If someone can point me in the right direction it would be very appreciated.

Thank You.

#1
12/03/2011 (5:14 am)
You should probably revisit any changes you've made to the TGB recently. I'm pretty sure TGB in its original state has no chance to hit that assertion.

Error basically says that graph contains refernces to scene objects at some point where it shouldn't, like before it was loaded with something or when everything should have been already removed. It doesn't say anything about objects themselves being deleted or not.

From what I see, t2dGunTurret might have somethig to do with this. Particle effects are also known to have issues with removing, but more likely that it is caused by broken scene loading|unloading, than by some particular object.