UnityVectorEditor icon indicating copy to clipboard operation
UnityVectorEditor copied to clipboard

VectorLineMeshBuilder not found

Open andybak opened this issue 6 years ago • 5 comments

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)

andybak avatar Apr 15 '19 11:04 andybak

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.

ecurtz avatar Apr 15 '19 14:04 ecurtz

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.

ecurtz avatar Apr 16 '19 22:04 ecurtz

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

andybak avatar Apr 17 '19 10:04 andybak

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?

ecurtz avatar Apr 17 '19 14:04 ecurtz

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.

andybak avatar Apr 17 '19 15:04 andybak