Changing World to Meters scale at runtime disrupts HMD rendering on HTC Vive
I'm setting the World to Meters scale value at runtime in my VR game. It was working in 4.17.2, but it's broken in PIE after I updated to 4.18.1 (I haven't checked in Standalone yet). I saw there was a similar issue in the 4.18 Preview for the Oculus that got fixed, but the bug is not public so I can't check it (UE-49386). Could you please make it public?
Even when I set the World to Meters directly in the World Settings, it's broken. It blinks and the view moves when you turn your head.
It's a show stopper for me.
I think I have the exact same issue. In 4.17 everything worked fine with scale world to meters, but since the spectator mode doesn't work properly when packaged we wanted to switch to 4.18.... after migrating and updating everything this issue occurs when we try to shrink our player (using HTC Vive). The motion controller vanish and the distance between the eyes stays the same and disrupts the view greatly.
Recompiling our pawn didn't do anything and I don't know how I can fix this camera issue. Our small game also relies on being able to mess around with the scale. This issue pretty much kills the effort. :(
------------At least this is what I thought until now! My Solution: ----------------
You don't need to "recompile" or "resave" your camera-holding BP. You need to close every additional tab. Whenever I opened at least one additional tab besides my level the perspective got disrupted after changing the world to meter scale. Whenever I closed every additional tab and only had my level opened, this issue is gone. I don't understand this issue and it is really weird, but hopefully I could help someone with my approach.
answered Dec 05 '17 at 04:48 PM
I was suspecting that the AR/VR Camera refactoring done in 4.18 had something to do with my issue. So I opened my PlayerPawn blueprint to look at the CameraComponent. And after doing that, the bug is gone \o/
So perhaps the CameraComponent holder blueprint had to be re-compiled/saved?
answered Nov 17 '17 at 12:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here