Topic: '....' is not an attribute class


I import OnlineMaps v3 in existing project and found errors around 122, and all the errors have similarity of this attribute class, I am attaching some images which shows the error. Could you please help me solve this errors.


Post's attachments

Attachment icon error1.PNG 42.11 kb, 20 downloads since 2020-04-16 

Re: '....' is not an attribute class


Most likely you have a class named Attribute in the global namespace.
This is very bad practice, and you will have compilation errors for all assets that use the System.Attribute class.

How to fix this issue:
1. Use some namespace for your Attribute class.
2. Rename this class.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.