Closed dpggit closed 4 years ago
I see if (!RectTransformUtility.RectangleContainsScreenPoint(graphic.rectTransform, screenCenterPoint, eventCamera)) { continue; } is always false in Raycast method in CanvasRaycastMethod script
I have the same problem when upgrate to steamvr 2.4.5
@dpggit @lihaiyang-xx On VIU's example scene, does it works? Upgrading from SteamVR Plugin 2.0.1 to 2.4.5, did you follow Steam's suggestion?
Upgrading from older versions Upgrading from anything from 2.1 - 2.3 The location of actions.json and associated bindings has changed. They will get automatically moved from project root to StreamingAssets/SteamVR/
Upgrading from version 2.0 You will need to delete your SteamVR/SteamVR_Input folders, Save and Generate, and then re-set your actions that you've assigned in the editor. You do not need to recreate your actions file or bindings files. This was necessary to support Unity's new serialization in 2018/2019. If you've made changes to your SteamVR/Resources/SteamVR_Settings.asset file, remember to keep it.
Yes, Steamvr 2.4.5 the first time didnt create the SreamingAssets folder , when i tried again and it created the StreamingAssets folder but didnt work actions. I found a solution in the end, detele absolutely everything related to steamvr and viu, create a new empty project import steamvr and viu and then copy everything to my project and now viu works with steamvr 2.4.5 except the getstatedown and up states. I think also Steamvr have problems when modify the default actions.
@dpggit For GetStateDown and GetStateUp states, please wait for VIU next release to fix this part. I found possible root cause that is causing those two functions not working.
@dpggit Please update your VIU from GitHub, it fixes the GetStateUp and GetStateDown not working issue.
Same issue here, cannot make it work with an already existing project. Tried deleting everything, reinstall SteamVR and HTC.UnityPlugin, but the actions don't work in UGUI demo. UI elements are highlighted, but click events are not registered. In another project it seems to work, both on SteamVR 2.4.5.
EDIT: after resetting my bindings, which I only managed to do my renaming my app key in SteamVR Settings (in SteamVRResources/Resources) , it works now...
@qlee01 Great to hear that, cheers!
I have installed SteamVR 2.4.5 and now VIU dont trigger anything in the UI. With SteanVR 2.0.1 i could interact with the different IU elements but now i cant even trigger a button