Foliage disappears when moving away from it's center

Hi!

My foliage disappears when I move away from the foliage’s center.

Check this video to see the problem

[- YouTube][1]


I’ve tried it in versions 4.14.3 and 4.15

This doesn’t happen in an empty project, but I haven’t been able to find the reason for it, after a whole day of googling and testing.

Tree mesh in video has two materials.

  • Trunk has diffuse and normal
  • Branches have same with opacity mask

Foliage Tool Settings in video

I also changed height min and max to 0. I tried light map resolution 8,16 and 32.

I have tried:

  • Modifying tree UV’s
  • Changing tree’s polycount
  • Modifying tree’s textures
  • Using LODs and no LODs
  • With and without a cull distance volume
  • Different meshes in foliage tool
  • Various amounts of foliage

Sometimes it only happens after saving, but usually it happens instantly.

I haven’t encountered this with another project, which has large amount of foliage.


UPDATE

  • Tried packaging game. Problem persists.
  • After updating project to 4.15, building the project gives +5000 lighting problems, which didn’t occur in version 4.14.3.
  • UE4 claims that almost all of my models have wrapping UV’s, which they don’t. I even checked most of them this morning.
  • Will try migrating whole maps to fresh project, but let’s see how it works for c++ project.

UPDATE 2

  • Re-Unwrapped bunch of models
  • Migrated maps to a new project without code.
  • Used various meshes with foliage tool and pressed build

Results

False wrapping UV’s error x 500. Foliage disappears immediately after saving project, but becomes visible when camera is center of foliage cluster. Problem occurs in game mode.


Is anyone having similar problems? I need some advice, because I don’t want to redo my project from scratch…


What happens if you click on your build menu and select build geometry? I know foliage isn’t a BSP volume but maybe it will have an effect. Does this also occur when you launch the game?

What happens if you click on your build menu and select build geometry?

Nothing happens

Does this also occur when you launch the game?

Yes

In the same project does it happen in a blank map with just a floor and foliage painted on it?

An IT-elf has fixed the disappearing tree bug during the weekend. I’m unable to replicate to bug, but I did nothing to fix it…

On the other hand I’m still getting a thousands of “wrapping UV’s errors”, even though everything is working perfectly.

Thank’s Black Phoenyx for trying to help!

No problem, glad it is working normally now, really wish I knew the exact cause though in case the issue comes up again. As for the wrapping UVs have you opened the mesh in your modeling program to verify that none of the UVs are outside of the 0-1 space?

I did it for ~30 models, that’s why I’m calling it a bug :confused:

And some of the models have been in the project for months and only started to show errors after updating project to 4.15

Hmm odd indeed.