Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile issue
Hi there.
I am having the following compile error:
Assets/Packages/DevTools/Editor/PropertyDrawers.cs(673,35): error CS0309: The type `EnumFlagAttribute' must be convertible to `FluffyUnderware.DevTools.DTPropertyAttribute' in order to use it as parameter `T' in the generic type or method `FluffyUnderware.DevToolsEditor.DTPropertyDrawer<T>'

Unity 5.4.0.f3


Importing Curvy into a clean project seems to work. No idea why.
I had another enumflag attribute defined in another package.
Yes, that are common issues. Note that all Curvy code is in it's own namespace(s), so either it's the problem of other packages not using namespaces or you can overcome issues with a using-alias statement in case you need to use two identical class names from different namespaces, like:

using DTEnumFlag = FluffyUnderware.DevTools.EnumFlagAttribute;

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation DuplicateEditorMesh performance issue Guillaume 5 12 01-18-2022, 01:44 PM
Last Post: _Aka_
  Lightmap/Shadow issue Sacryn 4 1,523 11-24-2020, 08:33 AM
Last Post: Sacryn
  UV issue with variable mix shape modifier MarioBag 4 3,312 12-07-2019, 01:43 PM
Last Post: _Aka_
  Follow Up Spline Issue JHulse95 8 8,099 07-25-2019, 02:36 PM
Last Post: _Aka_

Forum Jump: