My own created tree parts (everything with opacity mask on it), disappears in render? Viewport is fine. I use this mesh on foliage. If I place just the tree, the render is fine too. Please help?

Hi there,

I am in the final of my student project and a this weird issue. LOD´s are fine.

I have this fern tree, that don´t want to render correctly, if I used this tree on foliage. It seems just the leafs are disapearing and not the trunk.

If i place the tree without using foliage, the tree renderd correctly.

On this image you can see my foliage forest with missing leafs and a placed tree on the side, so you can see my problem.

So it is foliage related, but i have no soloution for it.

This is how my viewport is looking:

THX for your support and help.

I am using UE 5.1

OK i just figured out that must be a setup of my materials itself of the tree for the leafs. I tested a simple material without opacity mask on the leafs and it show up inside my render.

I tested a lot and regonized, the amount of my trees caused the disapearing. if I foliage just few around they render and if i foliage a mountain or a field, they break.

Until I reach the amount of 510 foliage trees, that issue happen. Can I adjust that number?