Likely we just need to create a new macro to enable TransformLocalPositionToWorld and TransformLocalPositionToPrevWorld in alternative use cases such as this.

Steps to Reproduce

Open a template project and recreate the material shown by the licensee here - [Link Removed]

Alternatively, use the NewMaterial.uasset attached.

When you attempt to save/compile the material, you receive this error:

[SM5] /Engine/Generated/Material.ush(2023,19-128): error X3004: undeclared identifier 'TransformLocalPositionToWorld'.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-116981 in the post.

Login to Vote

ComponentUE - Rendering
Affects Versions4.26.24.27
Target Fix5.1
Fix Commit21757684
Main Commit21757684
Release Commit21822677
CreatedJun 1, 2021
ResolvedSep 2, 2022
UpdatedSep 11, 2022