Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compiler error on unity 2017
#1
I just import your package to my project. It has compiler error.

Assets/Obi/Scripts/InspectorButtonAttribute.cs(36,14): error CS0101: The namespace `global::' already contains a definition for `InspectorButtonPropertyDrawer'

When I tried to solve it by deleting the related scripts, it has a lot of error.
Do you know what am I suppose to do with this?

(30-08-2017, 09:09 AM)lyn_mot Wrote: I just import your package to my project. It has compiler error.

Assets/Obi/Scripts/InspectorButtonAttribute.cs(36,14): error CS0101: The namespace `global::' already contains a definition for `InspectorButtonPropertyDrawer'

When I tried to solve it by deleting the related scripts, it has a lot of error.
Do you know what am I suppose to do with this?

it seems like the package is having crash with standard assets package "third person controller" and crossplatformimput" 
anyone encounter the same problem?
Reply
#2
(30-08-2017, 09:09 AM)lyn_mot Wrote: I just import your package to my project. It has compiler error.

Assets/Obi/Scripts/InspectorButtonAttribute.cs(36,14): error CS0101: The namespace `global::' already contains a definition for `InspectorButtonPropertyDrawer'

When I tried to solve it by deleting the related scripts, it has a lot of error.
Do you know what am I suppose to do with this?



it seems like the package is having crash with standard assets package "third person controller" and crossplatformimput" 
anyone encounter the same problem?

This just means that you already have a class names "InspectorButtonPropertyDrawer" in your project. Just rename yours to something else, or put it in a different namespace. Do not delete anything however, as this obviously will cause errors.

cheers,
Reply