yasirkula / UnityNativeShare

A Unity plugin to natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS
MIT License
890 stars 131 forks source link

After Package Import "NativeShare" can't be found in scripts #136

Closed BielBG closed 2 years ago

BielBG commented 2 years ago

Description of the bug

After Package Import (either via the Asset Store or downloading the .unitypackage from here), I do have the NativeShare folder under /Plugins but I cannot use any of it's classes. It doesn't matter which script I open, if I write "NativeShare" it doesn't detect the class in my project. I've reloaded, reopened, reimported, everything.

Reproduction steps

Platform specs

Please provide the following info if this is a Unity 3D repository.

Sin título

yasirkula commented 2 years ago

Does the error show up in Unity's console, as well? If not, try Edit-Preferences-External Tools-Regenerate project files.

BielBG commented 2 years ago

Well, nothing shows up in the Console unless I save that code. Then it'll say the class doesn't exist. Gonna try what you commented.

BielBG commented 2 years ago

Yep, that worked. Thank you very much!