UnityVectorEditor
UnityVectorEditor copied to clipboard
VectorLineMeshBuilder not found
Some code missing?
(also - had to mess around with manifest.json to get this working. You're missing a bunch of stuff. Probably best to include your full working Unity project unless you intend this to be installed via UPM directly)
Sorry, these are mostly utility files for a project that isn't on Github and I guess they got out of sync. I'll look into what's missing and possibly making a little standalone project for it.
OK, cleaned it up a little. A clean download seems to build ok now and I added a (completely trivial) example project and scene using the shape data inside a component.
Better but still a bit broken for me. Missing icons and nothing rendering in the scene. The latter might be down to my misunderstanding how it works.
Want to reopen this or should I create a new issue?
Part of the problem might be your .gitignore. It's pretty nonstandard. For a start - you're excluding most of ProjectSettings. Take a look at the standard Github .gitignore for Unity: https://raw.githubusercontent.com/IxxyXR/example/master/.gitignore
The icons are all created dynamically from SVG data in the file VectorShapeIcons.cs. Is it possible there's an issue with your Unity Vector Graphics package?
The scene doesn't render anything, it's merely to hold the object that contains some editable shape data. This isn't intended to be a fully functional project but merely a utility / example for working with vector graphics in Unity, perhaps I need to make that clearer in the documentation?
I checked out a fresh copy and used Unity 2018.3 and it's working now. It might be a Unity version issue.
Did you see my comment regarding ProjectSettings? Ensuring there's at least a ProjectVersion.txt in ProjectSettings would be useful.