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

Please help to solve this error #23

Open
jane00 opened this issue Jan 10, 2023 · 3 comments
Open

Please help to solve this error #23

jane00 opened this issue Jan 10, 2023 · 3 comments

Comments

@jane00
Copy link

jane00 commented Jan 10, 2023

"Assets\GeometryGraph\Runtime\Graph\Node\Curve\RecalculateCurveDirectionsNode.cs(20,33): error CS0115: 'RecalculateCurveDirectionsNode.OnConnectionRemoved(Connection, RuntimePort)': no suitable method found to override
"

@jane00
Copy link
Author

jane00 commented Jan 10, 2023

there are 44 same errors in other node.cs files

@TeodorVecerdi
Copy link
Owner

TeodorVecerdi commented Jan 10, 2023

Hey there @jane00!

The reason for these errors is that GeometryGraph relies heavily on generated code which is not included in the repository.

You can solve these by compiling the UnityGeometryGraph-CodeGen project into a DLL, and then copying it and its dependencies to the Unity project and setting it up according to this Unity documentation.

Or alternatively, extract this archive into Assets/Plugins/UnityGeometryGraph-CodeGen and (hopefully) it will work:
UnityGeometryGraph-CodeGen.zip.
Note that after extracting the archive you might need to edit some code in GeometryGraph for the code generator to trigger. (as in just add a space somewhere or something, then save the file)

Thanks for your interest in the project and I hope this helps solves your issues!

@jane00
Copy link
Author

jane00 commented Jan 10, 2023

Thanks very much for your reply.
Unfortunately, it doesn't work.
I am looking foward to get a working version some day. Thanks.
In fact, I just need a simple function of graph workflow for instancing some prefeb and caculating their posiiton/scale/rotation visually just like in Blender.
Are there something like this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants