Foliage rendering Crash

Since our transition from 4.10 to 4.11 we’re experiencing crashes on some of our levels when some parts (not all) of vegetation are rendered.

The crashing lines are:

if (BatchElement.bUserDataIsColorVertexBuffer)
	{
		FColorVertexBuffer* OverrideColorVertexBuffer = (FColorVertexBuffer*)BatchElement.UserData;
		check(OverrideColorVertexBuffer);
		static_cast<const FLocalVertexFactory*>(VertexFactory)->SetColorOverrideStream(RHICmdList, OverrideColorVertexBuffer);
	}

And the full callstack in the attached file link text

Thanks.

Hi jbg,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?
  • Does this only occur with a specific asset or is it any asset?
  • Can you post your crash logs here? They can be found at \Unreal Projects\PROJECTNAME\saved\logs\
  • What steps can I take to reproduce this on my end?

Hi,
Thank you for your fast answer.
Unfortunately I cannot post the log, but I can tell you there isn’t anything related to the foliage or rendering in it.

About the other questions:

  • It doesn’t occurs in all of our levels, so I doubt it’ll occurs in a clean porject.

  • It seems the issue isn’t asset-related, as we have same assets in another level without any problem.

  • I strongly suspect our level artists to have accidentally painted trees not only on landscape, but also on static meshes, which may be the source of the crash.

We’re experiencing the same crash with the transition from 4.10 to 4.11, albeit not for foliage but for regularly vertex painted static meshes. The crash happens because of an assert in SetColorOverrideStream, it’s the first assert that checks that the color buffer has been initialized.

Hi its_manny,

  • Can you post crash logs from the most recent project this occurred in for you?
  • What steps can I take to reproduce this on my end?
  • Does this occur in a clean, blank project with no additional content for you or is it limited to a single project as with jbg?

Did you try re-importing the vegetation and overriding the vertex color information?

, are these meshes painted in UE4 or in the DCC and imported? If in UE4, i’d be curious if removing the vertex color prevented the crash.

They’re painted in the UE4 world editor so removing them is not possible as the level crashes on load.

Hello,

I have a big problem on one of our level, it comes from the landscape when there is foliage.
Whenever I open the level, it systematicly crashes. when i remove the foliage it’s ok!
I tried to check in a new level, i create a lanscape & put the foliage…when i deform it with the scult tool…the editor systematicly crashes !

With static mesh everything is ok.

we can’t release any version of our project !

try painting foliage directly onto a static mesh, do you see the same crash occur?

Hi sebalza,

  • Does this occur in a clean, blank project with no additional content or is it limited to one project?

  • Does this only occur with a specific asset or is it any asset?

  • Can you post your crash logs here? They can be found at \Unreal Projects\PROJECTNAME\saved\logs\

  • What steps can I take to reproduce this on my end?

I create a new project, and work on landscape with foliage.

  1. create Landscape
  2. add a new foliage
  3. painting foliage
  4. deform with the scult tool
    Crasssh :slight_smile:
    file attached “logs”
    link text

Do you have any steps I can take to recreate this error on my end?

Not sure, but you can give this a try: Simply create an empty level in 4.10. Drag a static mesh into the scene, vertex paint it. Open 4.11 convert 4.10 project, open the level with the vertex painted mesh.
From looking at the posted log in the first post, this report seems to be directly related to my crash.

Unfortunately vertex mesh painting and converting does not seem to reproduce this error. Do you have any additional steps I can take or a project that is experiencing this error you’d be willing to share? I’ll be happy to take a look!

Hi sbj,

We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.

Unfortunately I cannot share our project. The latest hotfix of 4.11 still includes this issue. But I do have a crashlog for you: http://pastebin.com/6puudRMz

Hi Joshua Jones,

I am still looking into this, though as of yet I have not been able to reproduce this. Do you have any steps not already listed on this page or a sample project this is occurring in I’d be able to take a look at? Does this occur in a clean, blank project with no additional content for you or is it limited to one project?

We are also getting this error in one of our maps. Anyone still looking into this?