Description

In 5.3, the specified code will return all 0 or very small as expected. However in 5.4.4 and onwards (also checked in 5.6.1 & 5.7.1), it returns very large numbers.

Steps to Reproduce
  • Open any material
  • Add Custom node
  • Add code below to the custom node
  • Connect output to DebugFloat3Values
  • Preview node on a cube or plane

Expected outcome: values printed are zeroes, or very small
Actual outcome: large values

Code:
float4 ObjectClipPos = mul(float4(0.0f,0.0f,0.0f, 1.0f), LWCToFloat(ResolvedView.WorldToClip));
ObjectClipPos /= ObjectClipPos.w;
float4 NewObjectWorldPos = mul(ObjectClipPos, LWCToFloat(ResolvedView.ClipToWorld));
NewObjectWorldPos /= NewObjectWorldPos.w;
return NewObjectWorldPos.xyz;

Have Comments or More Details?

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

0
Login to Vote

Unresolved
ComponentUE - Graphics Features
Affects Versions5.4.45.6.15.7.1
Target Fix5.8
CreatedDec 19, 2025
UpdatedDec 19, 2025
View Jira Issue