Steps to Reproduce
  1. Open the project [Link Removed]
  2. Change to mobile  preview(it should be already on, if it's not, open the level again)
  3. Look at the texts on the sphere, it's the bounds and should be 200.
  4. Play in editor, it shows 200, and exit the PIE, it will be a very large number.

The sphere's primitive ID should be 4, but it's always 0 in the ShadowDepths->BuildRenderingCommandsDeferred(Culling=On)->CullingInstances(UnCulled) and will get the wrong primitive data from it. But if we set the r.Shaders.Optimize=0 and r.Shaders.Symbols=1 in consolevariable.ini, it will work as expected.

 

 

Have Comments or More Details?

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

1
Login to Vote

Unresolved
ComponentUE - Rendering - RHI
Affects Versions5.0
Target Fix5.1
CreatedApr 27, 2022
UpdatedAug 17, 2022