Error CS0576 - but cannot find the similar definition
(Using 2018.1.3.f1) Hello, I'm stuck using the new shadergraph within package manager, I'm stubbling a very common error, that I unfortunately cannot fix.
Once I add LW Pipeline (not even Shader Graph, which is even weirder) I get this error:
error CS0576: Namespace `global::' contains a definition with same name as alias `Node'
/Users/Immu/AppData/Local/Unity/cache/packages/packages.unity.com/com.unity.shadergraph@1.1.9-preview/Editor/Drawing/Views/MaterialNodeView.cs(18,44): C
The answer to resolve it would be, find the class that has the same name in your project. But I can't find it! In VS, I do a solution research with ' Node ' and it doesn't output any class with that name in my whole project (which is very big, I can't just delete stuff one by one to find it).
I've been working for years on Unity & Visual Studio and never stumbled upon that situation :/
The only class named 'Node' that appears are from the A*Pathfinding project plugin I have, but it's not the issue as there's a dedicated namespace, and that I've deleted the package, restarted, and the issue was still here).
Any idea how I can find that mysterious duplicate definition within my project ?
Answer by tolosaoldfan · Oct 15, 2020 at 04:24 PM
We've got the same error after upgrading from 2017.4 to 2020.1 & 2019.3. Did you find the source of this error finally ? Thanks
Your answer
Follow this Question
Related Questions
Error Using UCE0001: ';' expected. Insert a semicolon at the end. 1 Answer
How to fix (NullReferenceException: Object reference not set to an instance of an object) in my case 0 Answers
What does this error mean? 1 Answer
public UnityEngine.UI.Text fixing errors. 1 Answer
fatal error checkdisalowAllocation. Allocating memeort when it is not allowed to allocate memory 4 Answers