Garbage Collection Constant Lag Spikes?
Hi, I have a procedural voxel terrain which works fine, but suffers from constant framerate drops. I looked at the profiler and it seems to be a garbage collection problem, as you can see in the video it happens constantly at the exact same interval, even when standing still when no chunks are getting created or destroyed. How do I fix this?
https://i.gyazo.com/af39a92d3bcaa25a99d3009e87cd2ba6.mp4

Your answer
Welcome to Unity Answers
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.