ManualGazeControl.cs NullReferenceException
See original GitHub issueI’m having some trouble getting Manual Gaze Control working with my project. After adding the component to the main camera and playing, I am getting:
NullReferenceException: Object reference not set to an instance of an object HoloToolkit.Unity.InputModule.ManualGazeControl.Awake () (at Assets/HoloToolkit/Input/Scripts/Utilities/ManualGazeControl.cs:46)
Am I missing something? Thanks
Issue Analytics
- State:
- Created 7 years ago
- Comments:6
Top Results From Across the Web
c# - What is a NullReferenceException, and how do I fix it?
I have some code and when it executes, it throws a NullReferenceException , saying: Object reference not set to an instance of an...
Read more >How can I fix the error: System.NullReferenceException
A NullReferenceException exception is thrown when you try to access a member on a type whose value is null. A NullReferenceException exception ...
Read more >SpectatorView: Build Visual Studio SLN Crash · Issue #72
Following these instructions to build the Hololens app and Unity crashes everytime I try to 'Build Visual Studio SLN' HoloToolkit -> Build ...
Read more >How to Fix NullReferenceException in C#! (4 Step Process)
Let's learn what is a NullReferenceException, what causes it and a Step-by-Step process for how to Fix NullReferenceException in C#!
Read more >System.NullReferenceException while trying to load a view
I am trying to load DataMgmt.cshtml view by clicking on a link from my _Layout page but the page which should be loaded...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d suggest taking a look at the HoloLensCamera.prefab that implements it. Seems like it has some child objects that each have axis controller scripts attached.
I am trying to use ManualGazeControl too…
I had the same issue, and fixed it (the assigning of the axis stuff).
So now, the look camera stuff works now, but none of the keys work… I tried the arrow keys, and w,a,s,z keys, none of them worked… The “Keyboard.Supported” is checked and enabled, but the arrow keys don’t work.