Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins not create HMSAccountManager and HMSGameManager in Hierarchy. #496

Closed
kh12358 opened this issue Jun 8, 2024 · 6 comments
Closed
Assignees
Labels
new solved Developer confirm that issue solved. waiting for confirmation The solution has been given

Comments

@kh12358
Copy link

kh12358 commented Jun 8, 2024

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):

  • Unity Version [e.g. 2021.3.6f1]
  • HMS Unity Plugin Version [e.g. V2.3.7]

Smartphone (please complete the following information):

  • Device: [e.g. Huawei, Non-Huawei, Cloud Debugging]

Additional context

  • Are there any 3rd party solutions you use that may be linked to the problem?
@github-actions github-actions bot added the new label Jun 8, 2024
Copy link

github-actions bot commented Jun 8, 2024

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? ✨

@Andronovo-bit
Copy link
Collaborator

Andronovo-bit commented Jun 8, 2024

Hi @kh12358 thank you for reporting,

  • Actually, the answer is hidden in the picture that you sent. Huawei Mobile Services (HMS) just runs on mobile devices; therefore, you can switch to the Android platform in Unity and try on your mobile device.

image

  • If you have created your application on AG Connect, you need to download and use agconnect-services.json file.

  • Activating it in the plugin window is not enough if you are going to use it in your own scene. You can analyze how to use it by reviewing our demo scenes.

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

@Andronovo-bit Andronovo-bit added the waiting for confirmation The solution has been given label Jun 8, 2024
@kh12358
Copy link
Author

kh12358 commented Jun 9, 2024

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

@kh12358
Copy link
Author

kh12358 commented Jun 13, 2024

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

@Andronovo-bit Andronovo-bit added the solved Developer confirm that issue solved. label Jun 13, 2024
@Andronovo-bit
Copy link
Collaborator

@kh12358 you're welcome :)

Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new solved Developer confirm that issue solved. waiting for confirmation The solution has been given
Projects
None yet
Development

No branches or pull requests

2 participants