Forum Discussion
shaddy234
11 years agoHonored Guest
No UI after putting in the prefeb camera Help please
Guys i am very new to working with unity and the oculus.
I made a game in untity 4 and its working fine now but we want to input the oculus rift.
When i chance the camera to the oculus camera the UI dissapears and i have no idea how to show it.
I hope someone can help me with it i will link the file so you guys could look into it.
The game is a kind of temple run what i created when i import the prefab camera of the oculus only as camera not te object. For the camera head only i have created a head on the 3rd character and there will be the oculus cam on.
the tutorial i used is on this site http://www.thegamecontriver.com/2014/06/subway-surfers-temple-run-like-game-setting-up-the-world.html
In the file u will see 2 scene's one is it with the oculus cam aka Templerun_Oculus and the other one is the normal without it(aka Temple_Run) you can see that the one with the oculus the ui just dissapears for some kind of a reason.
how can i get the ui to be seen on the oculus cam?
The file from my school server account:(unity with the cam and scene's)
http://athena.fhict.nl/users/i315782/Temple_Run.rar
Greetings and much thanks already for looking into it! :)
I made a game in untity 4 and its working fine now but we want to input the oculus rift.
When i chance the camera to the oculus camera the UI dissapears and i have no idea how to show it.
I hope someone can help me with it i will link the file so you guys could look into it.
The game is a kind of temple run what i created when i import the prefab camera of the oculus only as camera not te object. For the camera head only i have created a head on the 3rd character and there will be the oculus cam on.
the tutorial i used is on this site http://www.thegamecontriver.com/2014/06/subway-surfers-temple-run-like-game-setting-up-the-world.html
In the file u will see 2 scene's one is it with the oculus cam aka Templerun_Oculus and the other one is the normal without it(aka Temple_Run) you can see that the one with the oculus the ui just dissapears for some kind of a reason.
how can i get the ui to be seen on the oculus cam?
The file from my school server account:(unity with the cam and scene's)
http://athena.fhict.nl/users/i315782/Temple_Run.rar
Greetings and much thanks already for looking into it! :)
3 Replies
Replies have been turned off for this discussion
- SoveranceHonored GuestWithout having downloaded or checked out the project...
I would recommend attaching a GUI layer component to each of the Rift's cameras, and ensure that all GUI gameobjects in your scene are in a layer that is not culled by the cameras. - shaddy234Honored Guest
"Soverance" wrote:
Without having downloaded or checked out the project...
I would recommend attaching a GUI layer component to each of the Rift's cameras, and ensure that all GUI gameobjects in your scene are in a layer that is not culled by the cameras.
I have tried it but it does not work i dont know how to get the layers in one object and the camera not to cull it because i dont see something that enable's the culling in the code or somthing like that. - shaddy234Honored GuestI have made the countdown of the text working from 3 to 1 and than go. thanks to your advice but now the biggest problem is that i want the GUI menu to show and its in the code of a gameobject that is empty that uses the UnityGui
how do i get that fixed?
Again thanks for that part already !
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
- 8 months ago
- 2 years ago