Play-in-editor causes weird behavior of HLODs

After building the HLODs and rebuilding lighting, I noticed that higher LODs seem to simply add to existing geo, making the shader complexity go up and z-fighting apparent (in shader-complexity viewmode). This only happens when the game is running in an editor window, though the HLODs do seem to be working in the editor viewport just fine. issue does not show up in standalone.

Hello kta3d,

From what you describe, whenever you enable and build the HLOD’s you see the higher LODs add to the existing geometry. This causes z-fighting. This only occurs when playing in the editor window. However, when playing in a standalone window they seem to be working fine.

I created a test project for this using the first person project available when creating a new project. I then changed the viewmode to shader complexity and was unable to see your issue.

I am confused as to how you are actually playing in the editor window while still having the options to change your view modes.

If you could walk me through how you create your project to see the z - fighting and the adding to the shader complexity.

Thank you,

Yes, that is the issue I’m having; I hit f5 while playing in editor to switch to shader complexity mode and it shows all the HLODs adding to the complexity and Z-fighting.

Hey kta3d,

So I opened a new project and repeated the above mentioned steps. I then opened a Play in Editor(PIE) version of the first person shooter game. I could still not reproduce this issue.

This is the screenshot of the project in viewport.

This is the screenshot of it playing in editor.

This could be a project specific issue. For instance if you had a mesh that was close, like a wall, then the HLOD would have a hard time differentiating between what is in front and what is behind. If you would like me to investigate this issue further then the next step would be to test your project on my end.

For that I would need your DxDiag, your .uproject, your content and config folders. I do not need the intermediate, saved, or any other folders or files. Others would cause issues when trying to reopen the project.

Let me know if you would like me continue to explore this issue.

Thanks,

we are using a custom branch of 4.8 so if it isnt showing up on your end then it must be on ours. Thank you for looking into this!

Hello kta3d,

Not a problem. I hope you can resolve this issue and continue with your project.