Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null Reference to Keyboard Controller #1

Open
DrMarcHolmes opened this issue Jul 28, 2017 · 8 comments
Open

Null Reference to Keyboard Controller #1

DrMarcHolmes opened this issue Jul 28, 2017 · 8 comments

Comments

@DrMarcHolmes
Copy link

Hi

I tired building the program and following the instruction on the you tube video using Unity 2017.1 and steamVR but I am getting an error bellow.

NullReferenceException: Object reference not set to an instance of an object
Redirector.InjectRotation (Single rotationInDegrees) (at Assets/RDW Toolkit/Scripts/Redirection/Redirectors/Redirector.cs:26)
SteerToRedirector.ApplyRedirection () (at Assets/RDW Toolkit/Scripts/Redirection/Redirectors/SteerToRedirector.cs:113)
RedirectionManager.LateUpdate () (at Assets/RDW Toolkit/Scripts/Redirection/RedirectionManager.cs:184)

The Scene Spins round and round.

? whats the issue.

@mahdi-krikey
Copy link

I haven't gotten around publishing a newer version of the toolkit quite yet, but here's a more stable version of the code. Try using this and I'm pretty sure the bug you're seeing will be resolved.
RDWT Test.zip

@USC-ICT-MxR
Copy link
Owner

We're hoping to have an update for the toolkit in October.

@seanvrar
Copy link

@USC-ICT-MxR I am trying to understand how this SDK works and hoping if you could upload more instruction.

@USC-ICT-MxR
Copy link
Owner

The plan is to have an updated version of the toolkit along with more instructional videos by March 2018. @seanvrar I would recommend reading the first two pages of this paper to get a bit more info on how redirected walking works.

@seanvrar
Copy link

seanvrar commented Nov 6, 2017

@USC-ICT-MxR I have the same setup as you do in the lab. also using Phasespace tracking and oculus dk2.
which version of oculus sdk and runtime are you using to get RDW toolkit working properly with both phasespace and dk2?

@USC-ICT-MxR
Copy link
Owner

We've used several versions of the Oculus SDK and deployed it both the DK2 and CV1. If you look at the toolkit's code, it's fairly hardware-agnostic and it doesn't have specific software requirements.

@seanvrar
Copy link

seanvrar commented Nov 9, 2017

@USC-ICT-MxR I am able to change the position of OVRCamerRig , but failed to change CenterEyeAnchor. Do you happen to know how? Thanks !!

@USC-ICT-MxR
Copy link
Owner

Hmmm, @seanvrar I'm not sure how you're configured things. If you've parented the OVR stuff properly, they should all move together. The main instructions are parenting OVR to the RedirectedUser transform and also passing the CenterEyeAnchor references as the head. That should do the trick. If you've followed these steps and still have problems, please quantify what you're seeing so I can assist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants