StressLevelZero / MarrowSDK-Legacy

MIT License
288 stars 39 forks source link

Universeal Render Pipeline/Lit (PBR Workflow) Shaders make meshes invisible in-editor #56

Closed bizzclaw closed 1 year ago

bizzclaw commented 1 year ago

I'm using an RTX 3080 with the latest Nvidia Drivers at the time of writing. I have made a completely blank unity project on version 2021.3.5f1 and installed all of the git packages with the package manager. clicked "fix all" in the void tools validate setup and have made a cube, applied a material too it and set that material too the shader: Universeal Render Pipeline/Lit (PBR Workflow)

This is the result image

I have looked at the discord and seen many others reporting this issue, but no viable solution has been discovered so I'm hoping to bring attention to this here will provide more visibility to this issue

Here is the log that is currently showing in my project

Shader warning in 'NormalEncoder': pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them at kernel CalcGeoSmoothness at NormalEncoder.compute(176) (on d3d11)

Shader warning in 'NormalEncoder': pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them at kernel CalcGeoSmoothnessDetail at NormalEncoder.compute(191) (on d3d11)

Main Object Name 'BlueNoiseR' does not match filename 'BlueNoiseR32'

Shader error in 'GPUCopy.compute': Couldn't open include file 'Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/TextureXR.hlsl'. at line 3

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin at DepthPyramid.compute(109) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin2 at DepthPyramid.compute(109) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMinOdd at DepthPyramid.compute(109) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin at DepthPyramid.compute(143) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin2 at DepthPyramid.compute(143) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMinOdd at DepthPyramid.compute(143) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin at DepthPyramid.compute(177) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin2 at DepthPyramid.compute(177) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMinOdd at DepthPyramid.compute(177) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin at DepthPyramid.compute(238) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMin2 at DepthPyramid.compute(238) (on d3d11)

Shader warning in 'DepthPyramid': implicit truncation of vector type at kernel MipMinOdd at DepthPyramid.compute(238) (on d3d11)

Shader warning in 'VolumetricScattering': signed/unsigned mismatch, unsigned assumed at kernel Scatter at VolumetricScattering.compute(177) (on d3d11)

Shader warning in 'VolumetricScattering': implicit truncation of vector type at kernel Scatter at VolumetricScattering.compute(320) (on d3d11)

Shader warning in 'VolumetricBaking': race condition writing to shared resource detected, note that threads will be writing the same value, but performance may be diminished due to contention. at kernel DirectionalLight at VolumetricBaking.compute(81) (on d3d11)

Shader warning in 'VolumetricBaking': race condition writing to shared resource detected, note that threads will be writing the same value, but performance may be diminished due to contention. at kernel DiscLight at VolumetricBaking.compute(81) (on d3d11)

Shader warning in 'VolumetricBaking': race condition writing to shared resource detected, note that threads will be writing the same value, but performance may be diminished due to contention. at kernel PointLight at VolumetricBaking.compute(81) (on d3d11)

Shader warning in 'VolumetricBaking': race condition writing to shared resource detected, note that threads will be writing the same value, but performance may be diminished due to contention. at kernel RectangleLight at VolumetricBaking.compute(81) (on d3d11)

Shader warning in 'VolumetricBaking': race condition writing to shared resource detected, note that threads will be writing the same value, but performance may be diminished due to contention. at kernel SpotLight at VolumetricBaking.compute(81) (on d3d11)

Shader warning in 'VolumetricBaking': warning location reached from this location at kernel PointLight at VolumetricBaking.compute(384) (on d3d11)

Shader warning in 'VolumetricBaking': warning location reached from this location at kernel SpotLight at VolumetricBaking.compute(432) (on d3d11)

Shader warning in 'VolumetricBaking': warning location reached from this location at kernel DirectionalLight at VolumetricBaking.compute(457) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel ClearBuffer at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel DirectionalLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel DiscLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel PointLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel RectangleLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel SpotLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel ClearBuffer at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel DirectionalLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel DiscLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel PointLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel RectangleLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel SpotLight at VolumetricBaking.compute(481) (on d3d11)

Shader warning in 'VolumetricBaking': warning location reached from this location at kernel RectangleLight at VolumetricBaking.compute(508) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel ClearBuffer at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel DirectionalLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel DiscLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel PointLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel RectangleLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': 'mul': implicit truncation of vector type at kernel SpotLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel ClearBuffer at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel DirectionalLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel DiscLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel PointLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel RectangleLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': implicit truncation of vector type at kernel SpotLight at VolumetricBaking.compute(544) (on d3d11)

Shader warning in 'VolumetricBaking': warning location reached from this location at kernel DiscLight at VolumetricBaking.compute(578) (on d3d11)

Shader warning in 'ColorPyramid': implicit truncation of vector type at kernel KColorDownsample at ColorPyramid.compute(157) (on d3d11)

Shader warning in 'ColorPyramid': implicit truncation of vector type at kernel KColorGaussian at ColorPyramid.compute(157) (on d3d11)

Shader warning in 'StepAdd': implicit truncation of vector type at kernel StepAdd at StepAdd.compute(145) (on d3d11)
bizzclaw commented 1 year ago

Okay I figured it out. I'm really dumb and didn't click on this when selecting new project Unity_Hub_9UqfLje69N Make sure you're not using 3D core, I'm so used to just making new projects like that I skimmed over the part that says you need to make a project using the 3D URP template, so make sure to download and use that.

Happy modding!