Setting "PN Tessellation " on terrain mat crashes editor

Flat tessellation works fine, however setting tessellation to “PN Triangles” on terrain material crashes editor once the material loads up. This is reproducible on a blank project by simply creating any old landscape, opening the material and setting Tesselation to “PN Triangles”, apply the material and as UE4 loads the material into the scene the editor crashes

Hey Chaoss -

Can you post a screenshot of your material which causes this crash?

Thank You

Eric Ketchum

Hi Chaoss-

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

Eric Ketchum

I don’t have the material handy, but it is very easily replicatable, you create a blank material for your landscape, apply it to a new landscape object and set your material to Tessellation with PN triangles.

Hey Chaoss -

Can you confirm what version of the engine you are using and also include a copy of your DXDIAG? So far I am able to apply PN Tessellation to my Landscape material without crashing.

Let me know, Thank You -

Eric Ketchum

I’m having this issue with my landscape material as well. I’ve replicated it in 4.7.5 and 4.7.6. When I get home I’ll post a screenshot of the material.

I’ve used the same material on a landscape tile with less polygons and it didn’t crash, so it looks like it might be related to polygon count.

Hi onyxdeath -

Can you please let me know what your tessellation multiplier is set at and whether you have anything plugged into World Displacement? Also are you check Adaptive Tessellation and Crack-Free Displacement to true?

Thank You

Eric Ketchum

Hi Chaoss and onyxdeath -

Thanks to the new information I was able to reproduce this crash internally and have entered abug report for it, UE-14201. It does appear to be limited to extremely large individual landscape pieces smaller landscapes will not cause the crash.

As soon as I hear anything about a fix I will let you know -

Thank You both for your help -

Eric Ketchum

Hi Eric, I’ve tested as many variations as I can think of with tessellation and each variation crashes it. In one variation I put a 1 in the tessellation multiplier while I had a heightmap plugged into world displacement. in that setup I tried checking and unchecking both Adaptive Tessellation and Crack-Free Displacement.

To see if it was perhaps an error with the material I swapped out my tesselation material for MI_GravelTile_01 from the Kite Demo and that also crashes it.

I’ve also tested a fresh project and it also crashed when using the same landscape with a tessellated material.

If it’s helpful I can upload one of the height map tiles I use to generate the landscape.

EDIT: Oops! I didn’t see that you had already reproduced it.

Hi guys, I just submitted a fix for this crash which will be in 4.8. It was occurring for any landscape that used more than 1x1 subsections. If you’re using source code, the fix is here:

https://github.com/EpicGames/UnrealEngine/commit/35064cbda6c21e261750ecd24b3a0b576daa8d6b