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

Hi,

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.

Thanks,
Ammar

Post's attachments

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

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

Hello.

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 40 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.