Hi again,
I have a very strange situation in which I am getting a serious performance degradation, from the game being smooth to almost unplayable in terms of FPS.
I have multiple scenarios that can be loaded and played, then unloaded. For convenience each one of those uses a World object and also takes care of loading textures and objects3D.
The first time I load a scenario, it works fine, but if I keep loading scenarios the performance is seriously impacted, and I can not see why.
On the unload of each scenario I am flushing the textures and removing all the objects from the world, the memory footprint does not grow over time, so I assume there are no leaks or lost object.
Can you give me a hint on what can be causing it?
Thanks a lot.