The Wayback Machine - https://web.archive.org/web/20200927120827/https://github.com/Unity-Technologies/graph-visualizer/issues/6
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`PlayableNode.GetContentType()' is marked as an override but no suitable method found to override #6

Closed
Jaredrhd opened this issue Nov 29, 2017 · 3 comments

Comments

@Jaredrhd
Copy link

@Jaredrhd Jaredrhd commented Nov 29, 2017

Hello. I downloaded the 2017.1.2 and imported the package into my project. I than received the following error.

Assets/graph-visualizer-2017.1-2/Assets/GraphVisualizer/Editor/PlayableGraphVisualizer.cs(47,26): error CS0115: `PlayableNode.GetContentType()' is marked as an override but no suitable method found to override.

Not sure if this is my mistake though and I haven't seen a workaround yet?

@romainf-unity
Copy link
Contributor

@romainf-unity romainf-unity commented Nov 29, 2017

Looking at your error, it should override the method in GraphVisualizer/Editor/Graph/Node.cs, but since the GraphVisualizer isn't in its own namespace, it might be taking another Node definition from your project...

Definitely, I should put everything in a distinct namespace.

As a workaround, could you try renaming Node to GVNode and in all the references in GraphVisualizer/ ? If I'm right, that should do it.

@Jaredrhd
Copy link
Author

@Jaredrhd Jaredrhd commented Nov 30, 2017

Renaming Node to GVNode worked thanks. I completely forgot about my other Script called Node.

@romainf-unity
Copy link
Contributor

@romainf-unity romainf-unity commented Nov 30, 2017

Thanks a lot for testing the workaround ;)
I'll fix the bug as soon as possible!

romainf-unity added a commit that referenced this issue Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.