Jump to content

Sean Lu

Employee
  • Posts

    8
  • Joined

  • Last visited

Everything posted by Sean Lu

  1. Hi ste-phil, May I know the SDK version you used? and what did you do to build your application? Thanks.
  2. Hi mobfish_cai, Thanks for your feedback. We will not delete exist android manifest or overwrite it in next version. Currently, you can changed the code at Library\PackageCache\com.htc.upm.wave.xrsdk@1.0.0\Editor\WaveXRBuildCheck.cs as below namespace Wave.XR.BuildCheck { static class CustomBuildProcessor { const string AndroidManifestPathSrc = "Packages/com.htc.upm.wave.xrsdk/Runtime/Android/AndroidManifest.xml"; const string AndroidManifestPathDest = "Assets/Plugins/Android/AndroidManifest.xml"; static bool isAndroidManifestPathDestExisted = false; static void CopyAndroidManifest() { const string PluginAndroidPath = "Assets/Plugins/Android"; if (!Directory.Exists(PluginAndroidPath)) Directory.CreateDirectory(PluginAndroidPath); isAndroidManifestPathDestExisted = File.Exists(AndroidManifestPathDest ); if (File.Exists(AndroidManifestPathSrc)) File.Copy(AndroidManifestPathSrc, AndroidManifestPathDest, false); // not to overwrite existed AndroidManifest.xml } ... private class CustomPostprocessor : IPostprocessBuildWithReport { public int callbackOrder { get { return 0; } } public void OnPostprocessBuild(BuildReport report) { if (report.summary.platform == BuildTarget.Android && CheckIsBuildingWave()) { if (!isAndroidManifestPathDestExisted) // not to delete existed AndroidManifest.xml DelAndroidManifest(); } } } }
  3. Please refer https://hub.vive.com/storage/docs/en-us/UnitySDKCoexistence.html?highlight=oculus#the-androidmanifest-xml-location Does this solve your problem? Thanks.
  4. Hi @firativerson, WVR_HVR is not for focus plus device. Please don't use it this way. Please call Interop.WVR_TriggerVibration() or WaveVR_Controller.TriggerVibration() instead.
  5. Hi grovelearning, I test SDK 3.1.6 on Unity 2019.3/1f. I did not see the issue you meet... What's your gradle file for? BR, Sean Lu
  6. Hi firativerson, What's the API you used to vibrate controllers? Is it WVR_TriggerVibration? Did you use it in edit mode? Could you just build an apk and test it? (not in edit mode) Thanks. BR, Sean Lu @firativerson
  7. Hi grovelearning, May I know the SDK version you used? Thanks. BR, Sean Lu @grovelearning
  8. Apk only can support one platform each time. If you want to build apk for oculus, please remember to remove "Mock HMD" from Virtual Reality SDKs. @Cotta @Tony PH Lin
×
×
  • Create New...