kevinortegren / zombieshroom

Large game project
11 stars 2 forks source link

Invalid physics pointers when shutting down #37

Closed rarosu closed 10 years ago

rarosu commented 10 years ago

The warning "Attemting to access non existing user pointer at index [number]" sometimes appears when shutting down a game.

I am able to reproduce this bug by loading 'ColorCubeTestLevel' spawning a few balls, loading 'TortugaCoveV0.2' and shutting it down. When shutting down 'TortugaCoveV0.2' the warning appears.

rarosu commented 10 years ago

Fixed. OnDestroy was called on invalid entities. Fixed in ECS.