Oculus Remote not working on 4.17

Hello.

I made a template VR project on 4.14, added in DefaultEngine.ini

[OculusRemote.Settings]
bRemoteKeysMappedToGamepad=False

and [Oculus Remote Enter] in HMDLocomotionPawn BP connected in the same way as [InputAction HMDTeleport] and I can teleport using Enter button on remote. Then I made a template VR project on 4.17, I made the same changes and my remote is not working. I changed line in OculusInput.cpp like here: https://github.com/EpicGames/UnrealEngine/pull/4030/files but nothing changed. Maybe someone had this issue and can help me?

Hi,
I am the author of the pull request you mentioned which implements the Oculus Remote fix for 4.17. It works properly for me with that fix.
Can you confirm that if you use the Oculus Remote in Gamepad emulation mode within 4.17 it works properly?
There may be an issue with the bRemoteKeysMappedToGamepad option but I will have to investigate it further.

Hello.
I am sorry but I can’t find how change the Oculus Remote to Gamepad emulation mode. Could you tell me how to do that?

Just remove this line or change it to True:

[OculusRemote.Settings] bRemoteKeysMappedToGamepad=False

It didn’t change anything.

Did you change the input events to the Game pad ones? Once the Remote has been switched to gamepad emulation mode it works through them. Enter is Special Right. Back is Special Left.

I forgot about that, but after change it is still not working.

Very strange because the same setup works properly for me. Can you try to disconnect/turn off all other Oculus input devices (touch and Xbox game pad) except the remote. Does it work this way?

I did it before and it doesn’t. I can send you my project, so you can check it if it works on yours PC.

Yes. I can check it this afternoon.

Hi Igor,
I have checked your project in a freshly cloned and fixed (pull request 4030) version of 4.17.2 and everything works exactly as expected for me.

With [OculusRemote.Settings] bRemoteKeysMappedToGamepad=False the Oculus Remote Enter event is triggered and teleportation takes place.

With [OculusRemote.Settings] bRemoteKeysMappedToGamepad=True the Gamepad Special Right and Gamepad Special Left events are triggered and teleportation takes place.

I can only guess that, for some reasons, the fix has not been applied properly in your case or something is wrong with your Oculus / Oculus Remote setup. I cannot think of anything else at the moment.

Cheers,
Marco.

Hello.

I downloaded fresh version of UE4 4.17, I changed code line in OculusInput.cpp and everything is working. Thank you for your time and fast response.