Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

Getting Shader Graph Definition Errors after installing URP

$
0
0
Hi All, After switching from the build-in pipeline to the Universal Render Pipeline, I am receiving a bunch of compiler errors that all say: Library\PackageCache\com.unity.render-pipelines.universal@12.1.6\Editor\ShaderGraph\Targets\UniversalTarget.cs(1359,71): error CS0117: 'Platform' does not contain a definition for __ (fill in the blank with GLES, GLES3, GLCore, D3D11, and D3D9). From what I've gathered, this sort of error is usually resolved by updating packages, but everything I have is up-to-date and it's a very bare-bones project. I've tried deleting my library folder, reinstalling Unity, reinstalling URP, etc. All of these error point to a C# script within the URP package called Universal Target. I tried opening that up to see if Visual Studio could provide any more information about errors within that script, but it didn't detect anything, so I didn't make any changes to it. Any help you can provide is appreciated. Thanks! John

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>