I’m doing some memory profiling of our game and noticed that we seem to have a lot of particles allocated and put in the recycle pools but they don’t seem to go away. The game is Putt Party and we switch between scenes after each course. It doesn’t seem that switching scenes frees any particles in the pools either and they seem to accumulate over time growing our memory. It’s not a ton, but it does add up. This is what I’m seeing.
Also, left a soak test going to see how much memory was allocated just sitting and the end of a course. Well, I have 6 animated characters in the scene and apparently there’s code in graph-debug.ts that is hanging onto them.
The results are over 5mb of animation weight stat references