x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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.

Product Version: UE 4.18
Tags:
more ▼

asked Nov 17 '17 at 10:45 AM in Bug Reports

avatar image

Steeve Kilhoffer
79 2 6 13

avatar image Jonas_Molgaard Nov 17 '17 at 12:18 PM

Most probably related to this bug i posted here: https://answers.unrealengine.com/questions/726196/bug-vr-pause-menu-3d-widgets.html

Feel free to upvote my bugreport too to hopefully catch the attention of the devs. Like you, the change of World To Meters are a showstopper for me too, even though the symptoms are a bit different.

avatar image dysplaced Dec 19 '17 at 11:09 PM

Same issue here (only on Vive, not with the Rift). It works when setting the scale in the world settings but not when setting it via Blueprint, reproducable in a clean project.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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.

more ▼

answered Dec 05 '17 at 04:48 PM

avatar image

VizualTek
116 2 3 6

avatar image Dogū Jan 16 '18 at 01:02 AM

VizualTek's answer worked for me (closing all tabs in the editor). Thanks for following up on it.

avatar image mervpls Sep 26 '18 at 03:17 AM

This exactly, i closed all tabs besides the level tab and the hmd is no longer disrupted by setting world to scale in the level blueprint.

avatar image RogueSheep Apr 02 '19 at 11:08 AM

Thanks @VizualTek closing all (other) tabs did the trick! This weirdness is still occurring in 4.21

avatar image DanielOrchardTTF May 01 '19 at 07:22 PM

Confirmed, closing extra tabs made a massive different. 4.21. World scale can break if other tabs are open.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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?

more ▼

answered Nov 17 '17 at 12:34 PM

avatar image

Steeve Kilhoffer
79 2 6 13

avatar image Jonas_Molgaard Nov 17 '17 at 12:53 PM

Good to hear, as mentioned, i think my issue is different since it's offsetting the floor. I don't suppose you get that? Ie. if you set the world to meters to 200 and play.

avatar image Steeve Kilhoffer Nov 17 '17 at 01:07 PM

Not sure what you mean by "offsetting the floor". Setting to 200 makes you giant, right? In this case, if you are perfectly in the middle of the VR area, your position won't change after changing the World to Meters scale. But if you are not in the middle, after increasing World to Meters, your position will be twice further away from the middle of the VR area than before. The chaperone center should stay the same.

avatar image Jonas_Molgaard Nov 17 '17 at 01:28 PM

In my case i see the chaperone floor either as far above the ground or far too low in the ground. Once i exit the editor the chaperone floor is normal again where it should be. It only seem to happen when i change the world to meters, but maybe it only happens if i pause my game. alt text

untitled.png (19.1 kB)
avatar image The Cheese Dragon Dec 03 '17 at 06:02 PM

I have a bug with world scale, mine is different again it seems, since setting world to meters no longer changes your perceived scale in vr (eg the distance between your eyes stays the same) instead all it does is multiplies the tracking input, so setting the scale to 200 I feel twice the height from the floor, and move twice as fast as I do in reel life, but im the exact same scale as at 100..... huge problem since the whole point of this game is being able to mess with scale

avatar image zorfmorf Dec 19 '17 at 10:44 PM

I have the same issue as Cheese Dragon it seems. As soon as we change the world to meters value during game runtime, the VR feels off, the movement of the level doesn't match the movement of the VR boundaries when moving around.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question