Switch Device : Custom mesh does not respect world position offset materials

Reference ID

7ca05ed2-4bd7-0d16-48bd-8386795f3145

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Devices

Summary

We created a material with World Position Offset that should animate up and down and also face the camera. This works perfectly on a plane in the world. We need to use it as a custom mesh for a switch device to have client-only mesh visibility, but as soon as we add it to the switch device, the material WPO does not work at all. The material is assigned on the mesh correctly, every thing works except the WPO.

Steps to Reproduce

Create a simple WPO animated material using a Time β†’ Sine β†’ Lerp(alpha) A = -50 B= 50 β†’ Make Float 3 (Z) β†’ WPO Output. The material should hover up and down. Create a simple plane mesh using the modeling tool. Assign the material to the mesh directly. The plane should animate up and down. Assign this mesh to the switch device custom mesh.

Expected Result

The custom switch device mesh should animate up and down with respect to the WPO assigned material.

Observed Result

The mesh does not animate. The material is correctly rendered, but no WPO animation can be seen.

Platform(s)

windows

image
Try enabling this setting in the static mesh component

Unfortunately this option is only available for an object in the world using the details pannel. The option is not available for a custom mesh in a switch device :frowning:


click static mesh on the switch device and scroll down to evaluate WPO

ah ha! That did the trick. Not sure why it’s not on by default, thanks!

1 Like