I’ve got a VR project that works fine in the editor but when I launch the packaged version then the motion controllers don’t appear (they still work because I can bring up the Steam interface and see the motion controller there). If I restart my level using a custom shortcut then the controllers appear fine and I can use my app. I’ve tried adding a delay for spawning the motion controllers but it makes no difference.
This is using the VR BP template Pawn and motion controller classes BTW.
I have a few questions for you that will help narrow down what issue it is that you are experiencing.
- Can you reproduce this issue in a clean project?
- If so, could you provide a detailed list of steps to reproduce this issue on our end?
- Could you provide screen shots of any blueprints/settings that may be involved with this issue?
I can reproduce the problem but it’s a bit different than I originally described.
If you set your Game Mode default pawn to be the MotionControllerPawn from the VR template level everything works fine.
If you have a different pawn (say spectator pawn) as your default but in your PlayerController you instantiate the MotionControllerPawn and make that the new pawn the motion controllers will not appear until you restart the level as I originally mentioned.
I am unable to reproduce this issue on our end with the information provided. Could you provide the example project that you used to reproduce this issue on your end?
We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will follow up.
I am having this issue. In the editor everything works fine. In the packaged build, it looks like the pawn never initializes. My pawn class never creates the controllers, but that is the very first thing it is scripted to do. Also, my HMD origin is well below the intended start position, and my orientation is flipped 180.
I have my BP_Pawn set as the default player pawn class, but I’m fairly certain it is not being created (or possibly just skipping BeginPlay?)
Any suggestions on what else I need to check?
The issue described in your post appears to be a different issue. I will need you to create a new thread for tracking purposes. Please been sure to include more information about the issue that you are having so that someone can assist you further.
Make it a great day