googlevr / gvr-unity-sdk

Google VR SDK for Unity
http://developers.google.com/vr/unity/
Other
2.71k stars 1.09k forks source link

GVRControllerPointer greyed out on play #996

Open blaaackmambaaa opened 5 years ago

blaaackmambaaa commented 5 years ago

Summary: I'm a n00b when it comes to this so dont laugh too much.

I start my unity project scene, changed platform and enabled Cardboard and Daydream with imported GVR (I tried on 1.7 and 1.8.

But when i try to create a scene from scratch, I cant seem to be able to get GVR Controller Pointer to work. It works fine on demo scenes, or If i edit them but when I create it from scratch

Found using:

Steps to reproduce the issue: 1.New Project

  1. Switch Platform
  2. Enable VR (cardboard and daydream)
    1. Add GVRController
    2. Add GVREditorEmulator
    3. Add EventSystem
    4. Create Player Object and add camera and GVRControllerPointer
    5. Add Plane
    6. Press Play

Workarounds:

Additional comments: play idle

rusmaxham commented 5 years ago

You will need to assign your controller laser pointer to GvrPointerInputModule.Pointer for the controller laser pointer to emit events.

The demo scenes do this in DemoInputManager.cs

rusmaxham commented 5 years ago

My apologies, I misread your issue. The controller pointer object never activates in your scene when you hit play and hold the Shift key on your keyboard?