UnityGeometryGraph icon indicating copy to clipboard operation
UnityGeometryGraph copied to clipboard

Please help to solve this error

Open jane00 opened this issue 2 years ago • 3 comments

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

jane00 avatar Jan 10 '23 07:01 jane00

there are 44 same errors in other node.cs files

jane00 avatar Jan 10 '23 07:01 jane00

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!

TeodorVecerdi avatar Jan 10 '23 07:01 TeodorVecerdi

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?

jane00 avatar Jan 10 '23 08:01 jane00