I found a solution by installing MetaXR Plugin https://developer.oculus.com/downloads/package/unreal-engine-5-integration/51.0
Work with v51.0 for UE 5.1.1, when you choose other one it will write in requirements what UE version need to have.
Related here [5.1 Hand Samples - Array Index error? · Issue #247 · Oculus-VR/UnrealEngine (github.com)] (https://github.com/Oculus-VR/UnrealEngine/issues/247)