There was a memory leak related to the function that builds the GUI that was called every frame, the issue was most probably that widgets were duplicated and never destroyed
We have to either find a way to destroy all widgets at the right time, or do an update function that just updates the textures and texts to the correct values, or even replace some widgets with native SFML elements
There was a memory leak related to the function that builds the GUI that was called every frame, the issue was most probably that widgets were duplicated and never destroyed
We have to either find a way to destroy all widgets at the right time, or do an update function that just updates the textures and texts to the correct values, or even replace some widgets with native SFML elements