Forum Discussion
Ampharel
12 years agoHonored Guest
CPU Issue
Ok so I've got kind of a strange problem.
I've got a 3D model in my game, and a OVR Player Controller. That's all thats in the scene.
When I run the game and walk around, when I come to a certain point in my map my CPU will spike up to 1500ms.
Looking into the Profiler this is caused by the OVRPlayerController class.
Do you have any idea what could cause this?
(It's when I get close to 1 certain point in the map.)
Edit:
It seems to be caused by this:
From here on out its compiled code so I have no idea... Also it seems like this is CharacterController.Move, so would this be a problem in the UnityEngine?
Unity Profiler.png
Made linkthrough post to Unity forums: http://forum.unity3d.com/threads/cpu-issue.261541/
I've got a 3D model in my game, and a OVR Player Controller. That's all thats in the scene.
When I run the game and walk around, when I come to a certain point in my map my CPU will spike up to 1500ms.
Looking into the Profiler this is caused by the OVRPlayerController class.
Do you have any idea what could cause this?
(It's when I get close to 1 certain point in the map.)
Edit:
It seems to be caused by this:
Profiler.BeginSample("OVRPC - Controller.Move");
// Move contoller
Controller.Move(moveDirection);
Profiler.EndSample();
From here on out its compiled code so I have no idea... Also it seems like this is CharacterController.Move, so would this be a problem in the UnityEngine?
Unity Profiler.png
Made linkthrough post to Unity forums: http://forum.unity3d.com/threads/cpu-issue.261541/
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 10 months ago
- 2 years ago
- 2 years ago
- 2 months ago
- 11 days ago