trev3d / QuestDisplayAccessDemo

Inefficient sample code for getting screen contents in Unity on Meta Quest to workaround lack of 'camera access'
MIT License
136 stars 18 forks source link

Controller does not work #8

Closed shiena closed 1 month ago

shiena commented 1 month ago

When I build and run the above environment, I get the following log and the controller does not work.

09-11 02:21:51.198  6589  6618 E Unity   : NullReferenceException: Object reference not set to an instance of an object.
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.PokeInteractor+SurfaceHitCache.GetBackingHit (Oculus.Interaction.PokeInteractable interactable, Oculus.Interaction.Surfaces.SurfaceHit& hit) [0x00000] in <00000000000000000000000000000000>:0
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.PokeInteractor.ComputeSelectCandidate () [0x00000] in <00000000000000000000000000000000>:0
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.PokeInteractor.ComputeCandidate () [0x00000] in <00000000000000000000000000000000>:0
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.Interactor`2[TInteractor,TInteractable].ProcessCandidate () [0x00000] in <00000000000000000000000000000000>:0
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.InteractorGroup.ProcessCandidate () [0x00000] in <00000000000000000000000000000000>:0
09-11 02:21:51.198  6589  6618 E Unity   :   at Oculus.Interaction.InteractorGroup.Drive () [0x00000] in <00000000000000000000000000000000>:0
trev3d commented 1 month ago

Can you try again? I just made changes to the demo scene

shiena commented 1 month ago

Thank you. It worked fine.