Unity-Technologies/com.unity.demoteam.hair

Error with High Quality Lines at Start/Stop in Editor and Build (HDRP)

3inary opened this issue · 1 comments

3inary commented

Hello,

i get the following error as soon as HDRP High Quality Lines are enabled on the Hair Instance:

Compute shader (StageRasterFine): Property (_CameraDepthTexture) at kernel index (0) is not set
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

This behaviour is observable in the HairSample_HDRP demo scene, after adding High Quality Line Rendering to the Volume (and enabling it in the Render Settings), the error can be triggered by changing the Sorting Quality.

However, the Hair renders correctly without the error if it is enabled with a delay after Start.
(this error is here for quite some time, currently on 2023.1.3/15.0.6)

qlee01 commented

Hello,

i get the following error as soon as HDRP High Quality Lines are enabled on the Hair Instance:

Compute shader (StageRasterFine): Property (_CameraDepthTexture) at kernel index (0) is not set UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

This behaviour is observable in the HairSample_HDRP demo scene, after adding High Quality Line Rendering to the Volume (and enabling it in the Render Settings), the error can be triggered by changing the Sorting Quality.

However, the Hair renders correctly without the error if it is enabled with a delay after Start. (this error is here for quite some time, currently on 2023.1.3/15.0.6)

I got the same error; seems to be related to Decals, if you enable Decals error goes away. I found a similar issue in issuetracker for HDRP water. Did not do a bug report yet. as my many bug reports are stacking up without being fixed, so I am not sure if it's worth the effort.....