Loading maps slower after packaging game
In 4.15, I never had issues like this. I upgraded to 4.17 and am now having issues with the packaged builds. When I play the VR game in the editor, I get around 1-2 second(s) of loading time the first load between maps. Then it's a fraction of a second to jump between maps. However when I package the game in development or shipping, the game take like 13 seconds to load and then 6-8 seconds to load between maps. Which seems like forever with a VR headset on staring into darkness.
I think I have it narrowed down to the MotionControllerPawn and also the BP_MotionControllers (VR Hands). I created a blank vr project and initially migrated a map from my project over, and was able to jump between maps with no issues. When I migrated the hands and pawn though, everything crawled between changing maps. I used my BP_MotionControllers with the UE VR project MC Pawn and still had the lag between maps. I then used the UE VR project hands with my MC Pawn and saw the same lag between maps. This only happens for the packaged project. I have also tried adding the 2 test maps and their "BuiltData" in the "List of maps to include in a packaged build" under packaging settings. The hands and pawn didn't seem to be an issue when packaging with 4.15, but now the project is unusable when packaged. However playing in the editor, it runs great so there is a lot of progress that I made in 4.17 before realizing this packaging issue.
I'm not getting any errors in the log, here is a sample of one map change log:
[2017.10.03-18.12.47:232]LogGameMode: Display: Match State Changed from InProgress to LeavingMap [2017.10.03-18.12.47:232]LogGameState: Match State Changed from InProgress to LeavingMap
Maybe I'm missing something in the log that is killing the load time. Any help is greatly appreciated. Hoping someone knows of a "This'll make it work" checkbox that I have missed.
Once I have a problem like you, and I solved changing the export setting, changing ANT to GRADLE.
answered Jun 03 '18 at 08:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here