Forum Discussion
SteveTack
12 years agoHonored Guest
Tracking in my Unity game suddenly stopped working
I've been testing the Oculus Rift functionality of my Unity game on a regular basis, but today the head tracking just stopped working. The Tuscany demo still works, so there's no issues with the hardware or anything. Even so, just for grins, I've tried rebooting and using different USB ports, but no luck.
Any tips on how I can debug this?
Any tips on how I can debug this?
4 Replies
Replies have been turned off for this discussion
- raidho36ExplorerTry re-importing Unity integration. Most likely you got your plugins corrupted or something.
- SteveTackHonored GuestThanks for the suggestion! I tried that, but still no head tracking.
UPDATE: I created a quick scene in the same project and the head tracking and everything DID work. So it seems to be a bug in code or something that I did in the actual game. The thing is, I wouldn't know how to stop head tracking if I tried, so I don't know what to look for.
I do have a slightly unusual setup with three pairs of cameras on different layers, but they've always worked before. Hmm. - SteveTackHonored GuestOK, I figured it out.
I didn't realize until after some trial and error that the head tracking is specifically tied to the cameras on layer 0 and layer 1. I was messing around with my camera layers and had my farthest ones set to 2 and 3. So all I had to do was change those to 0 and 1 and head tracking was back.
Whew, just glad to have it working again.
UPDATE: Just a quick correction. Obviously only one camera is associated with tracking. That camera is whatever is the layer 0 camera. - cyberealityGrand ChampionGlad you figured it out.
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
- 1 year ago
- 3 years ago