#Hey guys,
1 messages · Page 1 of 1 (latest)
Hey, okay so
I'm using this plugin
https://github.com/EvilMindDevs/hms-unity-plugin
In the editor everything works well, no errors whatsoever.
But when I'm trying to build addressables or even the android apk, I get that error
Basically somehow unity cannot find the plugin while I'm building the apk, but It can be found during the development by IDE
I'm also using Scripting Define Symbols
#if HUAWEI_STORE
using HmsPlugin;
#endif
It could be an issue with the scripting defines. Can you try removing the define around your using and see if that makes the problem go away?
I did, but it still gives off the error while building :/
Is any more info provided with the error message?
No just the:
"The type or namespace name 'HmsPlugin' could not be found (are you missing a using directive or an assembly reference?"
Also I get the same message for another class: HuaweiConstants which is from the same plugin
The problem is it works for my colleagues, but I have some problems with it, have no idea why
Are you using the exact same project as your colleague?
You could try checking the plugins to make sure they're selected for the platform you want to build.
Well we are just updating our current games that were built mainly for google playstore to huaweri store, so we are all using the same packages, plugins, etc but working on different projects. Tho they dont seem to have any problems with it
I'm so confused