Missing Texture on Foliage

Hey all,

Having some trouble with the foliage brush and a specific mesh when running a stand alone game or recording a movie out of matinee. When manually placed, not using foliage, the mesh appears properly with its material. When placed using a foliage brush it loses its material.

Everything is fine in-editor and PIE only when recording out a movie or playing a standalone game o they disappear. This happens with the mesh even in new maps but only with this certain mesh, the mushroom from the stylized demo, not others.

Thoughts? I really don’t want to have to place these manually.

Ok, so opening up the problematic materials and nudging a node and resaving seems to have fixed the problem.

Weird. I remember this happening in UDK sometimes but I didn’t think it would carry over to UE4.

3 Likes

This just happened to me too, and your fix of making a trivial change and re-saving the materials worked. Thanks!

This feels like a UE4 bug. FWIW, Epic, these assets were migrated from another project; maybe that’s related?

I can confirm this problem still exists in 4.9.

To reproduce:

  1. Migrate custom content into your project via Epic Launcher (for example the KiteDemo project)
  2. (step to confirm) Use a personal directory structure, sodrag’n’drop Materials/Meshes with “copy here”
  3. Add meshes to the foliage tool and draw them in the editor

Everything looks nice in the editor, but running the actual game will cause missing textures (and sometimes even messed up meshes).

Fix as mentioned:
Change something trivial inside one of the migrated materials and save. All migrated materials/meshes are now displayed correctly in the actual game.

Very odd fix but worked like a charm. Thanks!

1 Like

Not meaning to necro this, but this has happened to me recently aswell, and your workaround fixed it like a charm; did anyone figure out a way to prevent this from happening?

1 Like

V 4.20 also have this bug. Also fixed with that. Thanks!

CONFIRMED FIXED ON 4.20 WITH RE-SAVING THE MATERIAL!!! I was using InfinityBladeGrassLands grass!

Thank you, re-saving the material worked just fine for me. Weird flex but okay…

This bug still exist in 4.23!

4.25.1 - same, and re-saving of the material does not help anymore. Stuck with the crappy, materialless foliage in the Standalone Game mode + shadows suffer too, draw distance is down to an absolute minimum.

i have some texture right now in my landscape,but lately when i add a texture in landscape Suddenly all texture disappear form my landscape. looks like i did not add any textures at all

i will be grateful for your help

i have some texture right now in my landscape,but lately when i add a texture in landscape Suddenly all texture disappear form my landscape. looks like i did not add any textures at all

i will be grateful for your help

Confirm that this problem still exist in UE 5.0.1. The solution here still fixed it

5.1.1 still has this bug, and the fix of making a trivial change and re-saving the materials worked.

1 Like