EvilMindDevs / hms-unity-plugin

The HMS Unity Plugin makes it easy to include Huawei Mobile Services into Unity-based games. Authentication, in-app purchases, push alerts, ads, and interaction with gaming services are just a few of the basic capabilities that this formidable tool makes available to your applications.
https://evilminddevs.gitbook.io/hms-unity-plugin/
316 stars 42 forks source link

Plugins not create HMSAccountManager and HMSGameManager in Hierarchy. #496

Closed kh12358 closed 5 months ago

kh12358 commented 5 months ago

Describe the bug & problem I have import this plugins and select Game Service ,close the kit setting window.HMSAccountManager and HMSGameManager not create in Hierarchy.

To Reproduce Steps to reproduce the behavior:

  1. import plugins.
  2. Click on huawei>kit Settings->Game Service,close windows.
  3. Look the Hierarchy,HMSAccountManager and HMSGameManager not create.
  4. Because my app is in review,so i change Assets>StreamingAssets>agconnect-services.json>packagename.Not change agconnect-services.json file.I'm not sure this operation is allow.
  5. And open AccountDemo.When I play this screen,I have the second error.whatever Unity Editor or Android phone. hw error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots & Detailed log If applicable, add screenshots and a Log to help explain your problem.

Environment (please complete the following information):

Smartphone (please complete the following information):

Additional context

github-actions[bot] commented 5 months ago

Thank you for reporting this issue/advice.

We will get back to you as soon as possible.
Would you like to star our plugin to support us? :sparkles:

Andronovo-bit commented 5 months ago

Hi @kh12358 thank you for reporting,

image

I recommend you to follow the documentation in the link below and watch the getting started video;

https://evilminddevs.gitbook.io/hms-unity-plugin/getting-started/quick-start

kh12358 commented 5 months ago

Thanks for you help.I‘ll try it again.

kh12358 commented 5 months ago

Hi@Andronovo-bit,I have reslove this question.The video is very good! Thank you!

Andronovo-bit commented 5 months ago

@kh12358 you're welcome :)

github-actions[bot] commented 5 months ago

Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin

Your support helps us continue to improve our repository and provide valuable resources for others.