You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following error even though I have added "G3_USING_UNITY" to the Scripting Define Symbols NotSupportedException: ToVector3d: unknown type UnityEngine.Vector3 g3.BufferUtil.ToVector3d[T] (System.Collections.Generic.IEnumerable1[T] values) (at Assets/Scripts/geometry3sharp/core/BufferUtil.cs:210)
g3.DMesh3Builder.Build[VType,TType,NType] (System.Collections.Generic.IEnumerable1[T] Vertices, System.Collections.Generic.IEnumerable1[T] Triangles, System.Collections.Generic.IEnumerable1[T] Normals, System.Collections.Generic.IEnumerable1[T] TriGroups) (at Assets/Scripts/geometry3sharp/mesh/DMesh3Builder.cs:170)
`
Activity
firdiar commentedon May 8, 2022
Have you add the namespace in the script
runette commentedon Dec 21, 2022
How are you installing it?
You have to install it as source and not as the .dll from Nuget - to allow the compile symbols to work.
There is a UPM package available that correctly installs in Unity (but you still the Compile Symbol) :
https://openupm.com/packages/com.virgis.geometry3sharp/