Forum Discussion
gabriead
12 years agoHonored Guest
Text freezes when activated?!
Hi there,
I am using Unity 4.6 Pro with the Rift intgeration and I am currently using the new GUI System. I have a canvas, a panel and a text. When I push "G" the panel should be activated and the text should appear. Both panel and text do appear but they freezes and do not move with the movement of the Rift. What is causing the problem here?
I am using Unity 4.6 Pro with the Rift intgeration and I am currently using the new GUI System. I have a canvas, a panel and a text. When I push "G" the panel should be activated and the text should appear. Both panel and text do appear but they freezes and do not move with the movement of the Rift. What is causing the problem here?
public GameObject panel2;
if(Input.GetKeyDown(KeyCode.G))
{
Debug.Log ("Key S was pressed");
panel2.setActive(true);
}
4 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffAre you using OVRMainMenu? If so, try disabling it. It adds OVRGridCube, which uses KeyCode.G to toggle a grid overlay that may be misbehaving.
- gabrieadHonored GuestNo I am not using OVRMainMenu so the key "G" did not cause the problem. What else could it be?
- gabrieadHonored GuestI am still having the same problem that the panels freezer.I attached the scripts to the CenterEyeAnchor.
Any suggestions? - vrdavebOculus StaffTry making a new GameObject that's a child of centerEyeAnchor and attaching your script to that. If your script deactivates the centerEyeAnchor GameObject itself, it might cause problems.
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
- 12 hours ago
- 19 days ago
- 3 months ago
- 4 years ago