kDecals icon indicating copy to clipboard operation
kDecals copied to clipboard

Editor hangs as soon as a kDecal shares a scene with a terrain

Open besttof opened this issue 5 years ago • 4 comments

Whenever a kDecal is placed in a scene that contains a terrain, or when a terrain is created in a scene where kDecals are present, the editor hangs almost instantly. Sadly, no useful data is logged in the editor log.

Unity 2019.3f6 macOS

kDecal revision: 493ce6da5f644a6b3e464fef633111af8f1a3e3a

Relevant packages in use:

"com.unity.device-simulator": "2.0.0-preview", "com.unity.render-pipelines.universal": "7.2.0", "com.unity.shadergraph": "7.2.0", "com.unity.terrain-tools": "3.0.1-preview",

besttof avatar Feb 15 '20 19:02 besttof

Issue replicated using:

  • Unity 2019.3.7f1
  • URP 7.1.8

If the terrain or decal are disabled in scene the Editor works fine. As soon as both are enabled the Editor crashes.

mrsafacon avatar Apr 12 '20 17:04 mrsafacon

Unity 2020.1.0b12 here. Also tested with some different terrain shaders and unlit decal.
Maybe it isn't adapted to terrain yet, sadly, there is no results searching for "terrain" on this repository.

JuniorDjjr avatar Jun 21 '20 18:06 JuniorDjjr

Any updates on this issue would be greatly appreciated!

pheamit avatar Aug 24 '20 20:08 pheamit

This is kind of a weird problem, if you disable the decal culling, Unity will not crash any more. Seems like a bug when doing decal culling with Terrain.

KirillPH avatar Oct 12 '20 12:10 KirillPH