There is not a single “OnPreRender” or “OnPreCull” callback in my entire project’s solution. The dev scene for testing is relatively simple. I have no idea how to go about optimizing this.
How do I approach the problem? What is causing these allocations and how do I address this?
It was WeatherMaker in my case. I’ve since contacted the developer and problem has been fixed (they did some optimization work and there’s significantly less GC).
Ok thank you I don’t use WeatherMaker, so I found out (after a lot of testing) that it was my “DynamicDecals” asset that was causing the GC spikes in my case. That asset is now deprecated, but I was able to find the problem functions thankfully.