When using a calculating the distance between the Absolute World Position (Including Material offsets) and a set Vector value, the correct value appears rendering to a texture's UV in PC Mobile Preview Renders, but when launched or packaged on an iOS or Android device the material no longer renders correctly.
Issue was tested with an iPhone5s with iOS 9.2 and the Nexus 5 with Android Marshmallow in 4.10, 4.11 P1 (GitHub) and 4.12 (Dev-Rendering CL-2822902)
In Editor:
[Image Removed]
On iOS Device (same for Android):
[Image Removed]
Material Used for test:
[Image Removed]
RESULTS: The Material is rendered inconsistently between the mobile rendering preview and the packaged project.
EXPECTED: Identical Renderings
"Absolute World Position" not working in Mobile
WorldPosition node output broken on mobile
iOS - is the subtract, divide or distance shader math broken?
iOS rendering error - precision error with AWP or Distance shader nodes
Mobile Lighting Artefacts / Device Rendering Issues
iOS rendering error - precision error with AWP or Distance shader nodes
Head over to the existing Questions & Answers thread and let us know what's up.