OVRInput.SetControllerVibration Massive Unity CPU Spikes
Hi,
I noticed massive CPU spikes everytime OVRInput.SetControllerVibration(.5f, .5f, OVRInput.Controller.RTouch) is called. Something like 30-40ms cpu spikes on the LateUpdate function. I tracked it down to OVRHaptics.Process(); being called but when looking at the function, there doesn't appear to be any clear optimizations to make.
Anyone else experienced this problem? There's no way there should be massive CPU spikes every time the haptics are used on the Rift/Rift S. I must be missing something.
I noticed massive CPU spikes everytime OVRInput.SetControllerVibration(.5f, .5f, OVRInput.Controller.RTouch) is called. Something like 30-40ms cpu spikes on the LateUpdate function. I tracked it down to OVRHaptics.Process(); being called but when looking at the function, there doesn't appear to be any clear optimizations to make.
Anyone else experienced this problem? There's no way there should be massive CPU spikes every time the haptics are used on the Rift/Rift S. I must be missing something.
