Jump to content

Can't build Vive Wave in existing project


Stanislav Kostikov

Recommended Posts

Guys, working with Vive Wave SDK.  In AndroidManifest :

        <activity android:name="com.htc.vr.unity.WVRUnityVRActivity"
     android:configChanges="density|fontScale|keyboard|keyboardHidden|layoutDirection|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
                 android:enableVrMode="@string/wvr_vr_mode_component">
           <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
           <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="true" />
       </activity>  

If I add Vive Wave SDK into plain unity project everything fine and project build and run.

But if I add this into existing project that “@string/wvr_vr_mode_component” data can't be resolved and unity generates error : “Failed to re-package resources.”. Anyone have such problem?

(Existing project have some custom steps for Android packing. I think it may be connected )

Anyone have idea what could be wrong?

Thank you!

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...