How to change levels in a VR game [4.27]

I am using blueprints for development of the project. I am using a tick function in the character and level blueprint to check the player’s current health. When their health drops to zero I want to change the level. When I play the game in engine using VR preview it works perfectly fine but in the build it does not work. Can anyone please tell me how to make it work in the build as well?

May I see the code you have? I am going through the same thing and I want to see if there is another method to this mess.