Hi there,
I’m now working on a project with integration of SteamVR, but all of a sudden those key pressed events don’t fire anymore.
Here’s some clarification:
-
It actually happened after I updated some codes of AI character and built my project, but I thought it hadn’t anything to do with the SteamVR part.
-
I tried some other projects (all using UE4.10) and found the key pressed events for SteamVR wouldn’t fire either. Those projects didn’t have code update for weeks and could trigger key events correctly last time I ran them.
-
I also tried some Unity projects and the menu function (in which I may check with key events too) and they worked fine. Therefore it’s not hardware issue.
-
The keys I mainly used were MotionController L/R Grip 1 & MotionController L/R Trigger, which were mapped to grip & trigger keys of the SteamVR Controller. I didn’t update my engine version or SteamVR api so I supposed those key mappings didn’t change.
-
If I change my key bindings (to keyboard keys or mouse buttons) in input setting panel, those action functions will get triggered as usual. Then it’s not a issue of my coding.
-
I’ve tried restarting my Unreal Editor, rebuilding my codes as a whole, or restarting all my SteamVR hardwares, but with no luck. I cannot restart my PC these days due to some reason so I didn’t try this yet (and I’m not sure if that may help).
Any suggestions? Thanks in advance.