Anatta336 / driven-decals

A mesh-based PBR decal system for Unity's universal render pipeline.
MIT License
576 stars 75 forks source link

Decal asset preview is blue (2021.2.11f1) #20

Open GyalayPaul opened 2 years ago

GyalayPaul commented 2 years ago

When installing driven decals to a unity 2021.2.11 project the preview is always blue, even when opening in an almost empty project and selecting the example materials. URP version is 12.1.4 . These errors may be related to the issue.

[Worker1] Attempting to get Camera relative temporary RenderTexture (width || height <= 0) via a CommandBuffer in a Sriptable Render Pipeline.

[Worker1] Trying to get RenderBuffer with invalid antiAliasing (must be at least 1)

image

Bissac97 commented 1 year ago

Hi, I've had the same problem in my project (Unity 2021.3.7f1 URP 12.1.7). I spoke to fellow programmers and they told me it could be due to the type of shader used. So I tried changing the shader type, referenced by the inspector code, from Unlit to Lit and it worked.

MicaXxX commented 11 months ago

Is it possible can you tell me how to use the same in Unity Standard Pipeline.