Jump to content

VIVE_chengnay

Employee
  • Posts

    754
  • Joined

  • Last visited

Everything posted by VIVE_chengnay

  1. I am rolling back SteamVR version to double check. I will need more time to debug this part.
  2. I got the same result for Unity 2019.1.7f1 and 2018.3.5f1. Two controllers and one tracker input. Even I turn off 2 controllers, I can only get 1 tracker input. I couldn't get 2 trackers input.
  3. I still working on multiple tracker input debugging. Sorry for the delay.
  4. I was using Unity 2018.3.5f1, I can get 2 controllers with 1 tracker input. You can try modify the role of tracker and play your app again. Not sure why sometimes tracker will not be able to get input, after I switched role, it works again.
  5. Didn't you mention that you can get at least one tracker input? I am still verifying the multiple trackers case.
  6. I use VIU's example scene(ColliderEvent) to test. As you can see that I have two controllers and one tracker in scene view. You need to add your own tracker component in ViveColliders and ViveCurvePointers to allow your tracker to work. You can also refer to this link to use Debug view to see whether your tracker is being pressed or touched.
  7. When you can't get any input when both controllers are on, please try below methods. 1. Stop your app 2. Open Manage Trackers 3. Change your tracker role to others(except Held in Hand and Disabled) 4. Play your app again On my side, I can get input after changing role for the tracker.
  8. Are you using any of VIU example scene? or you use your own scene? Could you show me the Manager Trackers settings?
  9. Do you mean that you can see both controllers and tracker in compositor, but you cannot see tracker after you play your app? Are you using your own scene or you are referring to any of VIU's example scene? For tracker, there is tracker role.
  10. What type of input you want from tracker? Are you using any accessories for tracker?
  11. May I know what you have imported to your project? SteamVR plugin? Which version? What other plugins and version? Which VR device are you using? VIVE or VIVE Pro? Are you able to see both controllers and tracker in compositor(Before running your app)?
  12. It isn't compatible with VIVE Focus. You need to buy VIVE Focus Plus in order to use 6 dof controllers.
  13. Would you like to try Vive Input Utility(Unity Asset store)? For debug log, VIVE Focus/Focus Plus DEBUG log is not enabled by default. Please refer to below link to enable the DEBUG log. https://community.viveport.com/t5/Vive-Wave-SDK/Unity-debug-logging/m-p/19236?advanced=false&collapse_discussion=true&filter=location&location=forum-board:vive-wave-sdk&q=log&search_type=thread
  14. The last thing I suggest is to use CustomDeviceHeight.cs is much better approach. In Assets\HTC.UnityPlugin\ViveInputUtility\Examples\Shared\Scripts\CustomDeviceHeight.cs, public void UpdateHeight() { var pos = transform.localPosition; switch (VRModule.activeModule) { ... case VRModuleActiveEnum.WaveVR: transform.localPosition = new Vector3(pos.x, m_height, pos.y); break; } } Add above code and in Unity scene, adjust the height to negative value(-0.55 or lower). Could you help me capture some log value of Y axis for investigation? 1. Install provided apk 2. Open command prompt and type below commands adb shell setprop log.tag.Unity DEBUG adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG 3. Try below two scenarios a. - Standing up and launch apk - Sit down on chair b. - Sit down on chair and launch apk - Standing up Observe 3a and 3b how the Y value changes. My result will be 3a - (0.0, 1.7 or 1.8, 0.0) - (0.0, ~1.4, 0.0) 3b - (0.0, 1.7 or 1.8, 0.0) - (0.0, ~2.1, 0.0) NOTE: Focus' Suspend mode requires HMD taken off from head for >3 secs
  15. I just checked IVRModuleDeviceState.serialNumber does not actually print out Focus HMD's serialNumber. I printed out as WVR_DeviceType_HMD.
  16. I got feedback from Wave SDK team, They said correct way of using VIVE Focus/Focus Plus will be as follows, 1. Device in suspend mode 2. Put your HMD on while standing 3. Launch app while standing This way, the height(default value is 175cm, cannot calibrate) in VR world will be correct. Could you try the methods above?
  17. If you make adjustment to the VROrigin, that might cause issue after teleporting. This is why I suggest not to make any adjustment. Could you check whether your Virtual Reality Supported(File>Build Settings>Player Settings>XR Settings in Android settings tab) is checked? Could you try my apk and provide your result? Thanks!
  18. I found the root cause to your issue. By modified below file, you will have correct height for your Focus Plus. In Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\Editor\VRPlatformSettings\WaveVRSettings.cs, line 91, //if (virtualRealitySupported) { return false; } line 102, //virtualRealitySupported = false; By commenting out or deleting above 2 lines, you will enable WaveVR_SINGLEPASS_ENABLED. Remember to click "Use recommended", and make sure in Edit>Preferences>VIU Settings, VIVE Focus is checked too. There is another known issue (You will not be able to teleport in ControllerManagerSample scene.), please make adjustment to your scene. CustomDeviceHeight.cs will only work for Daydream device for now. You mentioned without any modification, you felt that camera looks like it's floating higher than it should. Does teleporting work? Because in EDIT2, you said after adjusting VROrigin gameobject, you felt many stuff is not working correctly. BTW, please do not adjust VROrigin gameobject in the scene.
  19. Do you mind sharing your sample project? You can try to import Vive Input Utility from Unity Asset store. There are some examples you can refer to.
  20. Many developers often complain some of the following problems, 1. Cannot get input from trackers 2. Sometimes trackers recognize as controllers How to correctly manage your tracking devices: - ✔️ If your apps/games only involved **2 handed controllers** (Vive Controller, Knuckles, Oculus Touch, WMR Controller) - No additional settings required, SteamVR will automatically apply bindings for Left/Right Hand. - ⚠️ If your apps/games involved **2 handed controllers** and **numbers of Vive Trackers** - Open "Manage Vive Trackers" UI and set your trackers to the following roles individually - Left Foot - Right Foot - Left Shoulder - Right Shoulder - Waist - Chest - Camera - Keyboard - Notice that orders is unimportant, just make sure all trackers have different role. - Notice that you only able to setup up roles for up to 8 trackers in this case. For other connected trackers with no role(disabled) or duplicated role, VIU only handles their tracking data but not input data, because there is no default binding is applied. If someone knows how to do that, please let us know. - ⚠️ If your apps/games only involved **numbers of Vive Trackers** - Open "Manage Vive Trackers" UI and set your trackers to the following roles individually - Left Hand - Right Hand - Left Foot - Right Foot - Left Shoulder - Right Shoulder - Waist - Chest - Camera - Keyboard - Notice that orders is unimportant, just make sure all trackers have different role. - Notice that you only able to setup up roles for up to 10 trackers in this case. For other connected trackers with no role(disabled) or duplicated role, VIU only handles their tracking data but not input data, because there is no default binding is applied. If someone knows how to do that, please let us know. - ❌ If your apps/games involved **more then 2 Vive Controllers** - VIU will handle tracking & input data for two of the connected controllers. For other controllers, VIU only handles their tracking data but not input data. Like Vive Trackers without roles, there is no default binding applied for them. If someone knows how to bind actions for other controllers, please let us know. - Notice that VIU handles the two controller that are assigned to Left/Right Hand, witch is controlled by SteamVR runtime. You can rebind the two controller to other VIU roles in your project and get their inputs as usual, but for other controllers, VIU will never get their inputs even if you rebind them into VIU role RightHand and LeftHand. Reference: Vive Input Utility GitHub Wiki
  21. By using latest SteamVR plugin and VIU v1.10.4, you should be able to get all input data. Try to set your tracker to left foot or others (Do not set to Held in Hand). Do make sure you have htc_viu tab generated in SteamVR Input window. Please refer to the link below, https://github.com/ViveSoftware/ViveInputUtility-Unity/wiki/SteamVR-Input-System-Compatibility Let me know if you still cannot get input from tracker.
  22. Are you using any plugins? SteamVR plugin? or just Unity XR?
  23. There is missing htc_viu tab in SteamVR Input window. User did not successfully apply VIU Action Set. One quick fix to your issue, please follow the steps below, Uncheck VIVE in VIU Settings, then check again Click on View Recommended Settings Click Apply VIU Action Set… You will now see htc_vic action set generated in SteamVR Input window
  24. Hi, I'm an unity user. I'm using ver2018.3.12f1 with HTC Vive Pro and have imported your asset 'Vive Input Utility' If I play the example project such as 1.UGUI, I get tons of error such as "GetActionOrigins failed! action=/actions/htc_viu/in/viu_press_32 error=InvalidHandle" I tried to search for the same case in google, but couldn't find any. May I get some help? I also attached the screen shot of the error.. Thank you. Regards Iccen Kim
  25. Could you try to update the code in below file path to see if your issue is resolved? In Assets\HTC.UnityPlugin\ViveInputUtility\Scripts\Editor\VRPlatformSettings\OculusGoSettings.cs, line 428, return activeBuildTargetGroup == BuildTargetGroup.Android && VRModule.isOculusVRPluginDetected && PackageManagerHelper.IsPackageInList(OCULUS_ANDROID_PACKAGE_NAME); Change Standalone to Android in the highlighted part.
×
×
  • Create New...