Doesn't garbage collection cause distracting hitches?
For a while now I've been wondering about the effect of the C#/Mono/.NET or Java garbage collectors on VR games. Garbage collectors are well known to cause hitching and stuttering in games. For a long time it has common practice for C# and Java game developers to minimize their garbage creation with techniques like object pooling. I even went to all the trouble of pooling my objects in a 2D Java game I wrote a while back, because I read in several places that you should do this. But I never really knew if I was just wasting my time or not.
Anyway, in VR it is more important than ever to avoid hitches and stutters so the user doesn't get sick. Yet we have Unity being used for a lot of VR projects, garbage collector and all.
Does anyone know just how bad GCs are for the VR experience?
Anyway, in VR it is more important than ever to avoid hitches and stutters so the user doesn't get sick. Yet we have Unity being used for a lot of VR projects, garbage collector and all.
Does anyone know just how bad GCs are for the VR experience?
