-
Posts
8 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Posts posted by Sean Lu
-
-
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();
}
}
}}
-
Please refer
Does this solve your problem?
Thanks.
-
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.
-
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
-
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
-
-
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.
C++ OpenXR Application with multiple Android activities
in VIVE OpenXR
Posted
Hi ste-phil,
May I know the SDK version you used? and what did you do to build your application? Thanks.