After Git pull I get these error messages
So I am working on a collaborative project. I make a pull and then I get these error messages along with a bunch of messages telling me that a meta file exist but the asset doesn't. Funnily enough if I create a new project I now get the same error messages. I am using 2019.3.9f1 with HDRP. Does anyone know what might be the issue. I've tried deleting the project and recloning the repo, reinstalling Unity and Visual Studios and deleting the manifest.json file.
Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(2,19): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(3,19): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(4,19): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(265,34): error CS0246: The type or namespace name 'AbstractAstVisitor' could not be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(267,74): error CS0234: The type or namespace name 'NRefactory' does not exist in the namespace 'ICSharpCode' (are you missing an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(277,57): error CS0246: The type or namespace name 'TypeDeclaration' could not be found (are you missing a using directive or an assembly reference?) Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(267,36): error CS0115: 'CSharpToHLSL.NamespaceVisitor.VisitNamespaceDeclaration(NRefactory.Ast.NamespaceDeclaration, object)': no suitable method found to override Library\PackageCache\com.unity.render-pipelines.core@7.3.1\Editor\ShaderGenerator\CSharpToHLSL.cs(277,36): error CS0115: 'CSharpToHLSL.NamespaceVisitor.VisitTypeDeclaration(TypeDeclaration, object)': no suitable method found to override
When setting up a new hdrp project I get these issues in the pipeline wizard. I've also tried installing a different version of unity but it makes no difference. I am also adding an image of the warnings I get.
Answer by oisincar · Oct 27, 2020 at 12:13 AM
If you just git clone the repo for Unity's SRP, not everything is downloaded... Namely the necessary DLL is stored in git-lfs. Try again after installing git-lfs and calling git lfs fetch
inside the repo.
Answer by daprato · Aug 25, 2020 at 08:00 PM
Same sadly, following this thread then :(
I did follow these UNITY guidelines for SRP:https://docs.unity3d.com/Manual/srp-custom-getting-started.html
I checked my version of Core RP Library which is the 7.3.1 within the latest LTS 2019.4.8f1.
Your answer
Follow this Question
Related Questions
Recursive serialization not supported, you can't dereference a PPtr while loading. 1 Answer
I Need Help With An Error Message!? 1 Answer
[Help] I keep getting an error with blank message when I create a C# script. 3 Answers
Unity editor unable to start due to 0xc000007b 0 Answers
Error: Cannot start process because a file name had not been provided 0 Answers