yasirkula / UnityNativeShare

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

The type or namespace name 'NativeShare' could not be found #101

Closed youginil closed 3 years ago

youginil commented 3 years ago

The NativeShare plugin has been installed into Assets/Plugins, but the error occur. I had try to restart unity and code editor(vscode) and reimport the plugin, it doesn't works. Need I use "using" statement? If so, what is it?

Unity: 2019.4 NativeShare: 1.3.8(lastest currently)

youginil commented 3 years ago

Solved. I delete some other files and change some code nothing about NativeShare, the error above disapear. weird.

gputhread commented 2 years ago

Telll how to solve unity 2020.3.14, i want to cal native share wherever its hiding!

yasirkula commented 2 years ago

If the error doesn't show up in Unity console, then it's an Intellisense issue. Otherwise, you must add NativeShare's assembly definition file to your own's Referenced Assemblies list.

gputhread commented 2 years ago

If the error doesn't show up in Unity console, then it's an Intellisense issue. Otherwise, you must add NativeShare's assembly definition file to your own's Referenced Assemblies list.

yup it disappeared now from unity log..i moved it out of plugin folder which was not useful then i moved it back..its just vscode shwowing it now.

yasirkula commented 2 years ago

After closing VS Code, try Edit-Preferences-External Tools-Regenerate project files.

gputhread commented 2 years ago

After closing VS Code, try Edit-Preferences-External Tools-Regenerate project files.

ok 😃👍