Random black and gray lines over mesh

Hi everybody,

I just started with UE and already run into some weird problems.

I am currently doing the “Your First Game in UE5 | Tech Talk | State of Unreal 2022” “Tutorial” Your First Game in UE5 | Tech Talk | State of Unreal 2022 - YouTube , and the migrated foliage form the Stack ‘O’ Bot project does weird stuff.
To showcase, I uploaded something to Youtube → Unreal Engine 5 Bug - Question - YouTube.

I do think is a problem with the anti-aliasing, but for the death of me, I cant find anything on this.

My set up is a new blank project with only the base lighting enabled (directionalLight, ExpoHeightFog, SkyAtmosphere, Skylight, VolumentricLog) and I migrated the tree from the Stack ‘O’ Bot project.

I would be very grateful for any help, tips or pointers into the right direction.

Thank you very much and sorry, if I posted something wrong or asked an obvious question.

Best

Seems its a shadows issue…try turn directional light shadows OFF and see if problem disappears if so turn shadows on again and start tweaking the parameters of that light (shadows bias, etc)

1 Like

Hi Eldany,uy,

thank you for the tip, but it does not seem to work. :frowning:
I added another example, which looks a bit different. Unreal Engine 5 Render Bug - YouTube

I tried to delete and recreate all light sources and played with their visibility and other settings, but it does not change anything.

funny enough, the SM_Tree in editor mode looks fine.

This is usually caused by Pixel Depth Offset in my experience. Open up your materials and disconnect any Pixel Depth Offset pins and see if that fixes it. Otherwise, disabling any other dithering or similar effects might fix it. Good luck!

image

1 Like

Hi Jiggynaut,

I think that fixed it. Thank you very very much, I will now read up on that topic, so I know where exactly the problem comes from.

Awesome help.

Best to you,
have a nice weekend.