[FREE Unity Plugin] Memory Efficient Coroutines
A lot of VR environments require movement, and a lot of movement is done in Unity using coroutines. However, many people don't know that coroutines allocate about .1kb of memory on the heap per running coroutine per frame. The garbage collector has to come clean that up later which causes random framerate spikes. If you use a bunch of coroutines then these spikes can end up happening more than once per minute. We all know that framerate is a very important issue in VR environments.
That's why I've released Memory Efficient Coroutines for free on the asset store. It produces zero per-frame allocations and can easily replace Unity's coroutines in your project. I hope that everyone who sees this will try it, and if you do please leave a review or at least a star rating. Thank you.
That's why I've released Memory Efficient Coroutines for free on the asset store. It produces zero per-frame allocations and can easily replace Unity's coroutines in your project. I hope that everyone who sees this will try it, and if you do please leave a review or at least a star rating. Thank you.
