Jump to content

Chirp wvr_Api Unity Error


VRVision

Recommended Posts

This Error comes when pressing play. It has come from using the Chirp left and right prefabs included in the WAVE 3 SDK. 

Interop.WVR_GetParameters(type, ptrParameterName, ptrResult, resultVertLength);
This specific line is giving the error and I am not sure how to fix this. Any help would be great!
 


Link to comment
Share on other sites

Hi  ,

 

We don't suggest to use Chirp prefab directly, suggest to use ControllerLoader instead.

If you'd like to use Chirp prefab and fix manually, you can put the following code into WaveVR_AdaptiveControllerActions.cs  which located in Assets\WaveVR\Scripts\ControllerModel.

 

+#if UNITY_EDITOR++        isTouchPadSetting = false;++#else        isTouchPadSetting = GetTouchPadParam();++#endif

Thanks.

Link to comment
Share on other sites

The reason I use the chirp prefab instead of the controllerloader is due to the issue with adding pieces to the controllers once it has been loaded. I was unable to find any documenation on how to add gameobjects or functionality to the controler loader prefabs. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...