http://i.imgur.com/FmvRrnv.png


As we can see, void OnControllerColliderHit(ControllerColliderHit hit) allocates 60B/frame. This is really quite avoidable and it’s sad that one has to take this performance hit on mobile devices. Hopefully in future such allocations could be avoided by passing a ref or such, similar to Physics2D NonAlloc.

It irks me greatly, and it’s frankly sloppy and a good reason why having source is valuable.

The horror!