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.
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;
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-358653 in the post.
| 0 |
| Component | UE - Graphics Features |
|---|---|
| Affects Versions | 5.4.4, 5.6.1, 5.7.1 |
| Target Fix | 5.8 |
| Created | Dec 19, 2025 |
|---|---|
| Updated | Dec 19, 2025 |