Hi, community
What is serialization?
I have a big fps problem in my game. The game ended up slowing down to 40 fps.
It’s a racing game, and unfortunately as a big noob I started to design it with physics2 behavior, without knowing that it drained a lot of resources. And at some point, I find myself with 30 objects with this behavior.
I thought that was what made my game slow.
But when I remove all objects, the game keeps running at 40 fps!
and the debugger shows me:
serialization took a long time : remove some object from serialization.
What does it mean ?!?
is this why my game slow down?
I don’t understand because when the game starts to slow down, I delete all these objects that could drain resources, and even after 5 minutes of waiting, the game still slows down.