Oculus Fail on Initialize?

Oculus Fail on Initialize?

Anonymous
Not applicable
495 Views
1 Reply
Message 1 of 2

Oculus Fail on Initialize?

Anonymous
Not applicable

I'm trying to understand using the Oculus inside Stingray for visualization projects. I open the Oculus VR Template in Stingray (the one with the floorplan and no ceiling) and I am able to move around with an Xbox 360 controller and look around with the headset, but cannot turn my body with mouse, keyboard, or headset movement.

 

Then I try to run the Subway VR Project. I am able to control movement with the 360 controller in the Test Level, but no Oculus connectivity. If I run the project, I get this error message:

 

Subway_VR_Project / Lua: script/lua/oculus_vr.lua:59: attempt to call field 'setup' (a nil value)

 

I would like to have a template I can start with where, when the project is running, I can turn, move, jump, etc. with the controller and camera movement is controlled by the Oculus.

 

I'm running Oculus DK2, version 1.9 of the App, and Stingray 1.5.863

 

2016-11-10_1130.png

Reply
Reply
0 Likes
496 Views
1 Reply
Reply (1)
Message 2 of 2

JamesClarke3D
Advocate
Advocate

Not running Oculus myself so can't be too much help, but I will make a general comment that some of the example projects were built on older versions of stingray, and it's worth double checking that you are building from the latest available online templates meant for 1.5 when you start a new project. Otherwise, you could dig into the lua and see what line is erroring, but I imagine there has to be a proper working template already, I just don't know anything on the oculus side to say for sure. 

---------------------------
| LinkedIn | @SnipeyX |
Reply
Reply