Something wrong with AlignMeshToTheCamera in 4.13.0 in VR

After upgrading my 4.12.5 project to 4.13.0, I noticed something odd that stopped working right…
I use a font material to automatically align a bit of floating text to the camera, that way I don’t need to change it’s angle in a script every tick to make it face the player… It worked great in 4.12.5, but now after the upgrade, the text is always in a different orientation, each time I start the game. Sometimes it’s upside-down, other times it’s on it’s side.
I’m pretty sure I haven’t changed anything that would cause this… So I assume it could just be a bug with this function, that they missed for the 4.13.0 update?

This is the script I use on my font material:

This is how it appears in editor, and how it used to be in game in 4.12.5 in VR:

This is how it appears now, when viewed in VR:

Just to clarify, I’ve already worked around this issue, by doing this instead:

So don’t worry about trying to come up with an alternative method for me. heh This alternative I’m using actually works better now anyway.

I still wanted to make it known that AlignMeshToTheCamera seems to be acting strangely now, when used with VR, in the event that this is a bug.

Still happens in 4.14.3, caused by actor’s world rotation. Not sure if a bug or some trickier material math required.

I’ve found the solution!
Use your material and set the Text Render component’s transform rotation to WORLD. Not RELATIVE.

1 Like

I have the exact same setup on the material and setting the rotation to absolute worked for me! Thank you!!!

269695-annotation.png