If you open a material with the speedtree node plugged into WPO and then use a texture coordinate(index of 2) in base color the material will no longer compile properly.

The full error is "Error [SM5] Material.usf(898,19-52): error X3067: 'GetObjectWorldPosition': ambiguous function call"

Removing the speedtree node from WPO fixes the compilation error.


Worked 4.14.3 CL 3249277
Broken 4.15 CL 3258144

Steps to Reproduce
  1. Open attached project
  2. Open Broadleaf_Desktop_Billboard_Mat
  3. Add texture coordinate node and set the coordinate index to 2
  4. Plug into base color or something leading to base color

The material returns the error " 'GetObjectWorldPosition' ambiguous function call.

The material is able to compile correctly with the texture coordinate node.

Community References

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Rendering
Affects Versions4.15
Target Fix4.15
Fix Commit3272590
Main Commit3389599
Release Commit3272590
CreatedJan 25, 2017
ResolvedJan 25, 2017
UpdatedApr 27, 2018