Error: 'failed to open source file: 'CoreRP/ShaderLibrary/Common.hlsl' what to do?
Asked Answered
S

2

0

Error msg:

Shader error in ‘HDRenderPipeline/Lit’: failed to open source file: ‘CoreRP/ShaderLibrary/Common.hlsl’ at line 282 (on d3d11)

Unity Version : 2019.3.0a6 (HDRP/LRP)

I’ve been playing around with the HDRP and the LRP versions of unity for a couple days and everything was fine untill i got this error. Last week i have used the HDRP version of unity without issues. But for some reason this error message started popping up. i work in HDRP/LRP is because of the shaders, so its a real pain. I have reinstalled unity and the unity hub atleast 3-4 times to no avail. I have googled around and i could only find old posts from 2018 and no solutions… I’m no coder/developer, and i have little to none coding knowledge. Im really running out of answers here, so i could really use some help.

Thanks in advance,

Victor

Sclerotic answered 11/4, 2024 at 13:13 Comment(0)
C
0

Make shure that the file is in the correct directory.

Commandment answered 6/10, 2020 at 20:19 Comment(0)
O
0

Have you found a solution yet? i’ve stumbled upon the same problem

Oestrone answered 11/4, 2024 at 11:27 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.