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

Got 2 errors after I imported this plugin #508

Closed
qinhanlei opened this issue Jul 26, 2024 · 7 comments
Closed

Got 2 errors after I imported this plugin #508

qinhanlei opened this issue Jul 26, 2024 · 7 comments
Assignees
Labels
investigating We are investigating the current problem new solved Developer confirm that issue solved.

Comments

@qinhanlei
Copy link
Contributor

Hi,

Thanks for creating such a convenient plugin :)

I got 2 errors after I imported this plugin as below:

Assets/Huawei/Demos/NearbyService/NearbyDemoManager.cs(175,51): error CS0118: 'Data' is a namespace but is used like a type
Assets/Huawei/Demos/NearbyService/NearbyDemoManager.cs(123,83): error CS0535: 'NearbyDemoManager.NearbyManagerListener' does not implement interface member 'IDataCallback.onReceived(string, Data)'

Environment:

  • HMS Unity Plugin Version: V2.3.8
  • macOS 14.5
    • Unity Version 2022.3.36f1
  • Windows 11
    • Unity Version 2021.3.29f1

I hope it helps.

Copy link

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

@github-actions github-actions bot added the new label Jul 26, 2024
@Andronovo-bit Andronovo-bit added the investigating We are investigating the current problem label Jul 27, 2024
@Andronovo-bit
Copy link
Collaborator

Andronovo-bit commented Jul 27, 2024

Hi @qinhanlei,

We will look into it and get back to you. Thank you for reporting the error. :)

Did you get the error while trying demo scenes or did you have a problem while trying the scene you created?

@qinhanlei
Copy link
Contributor Author

Hi @qinhanlei,

We will look into it and get back to you. Thank you for reporting the error. :)

Did you get the error while trying demo scenes or did you have a problem while trying the scene you created?

Hi @Andronovo-bit ,

Thanks for your reply.

The plugin imports the demo scenes, so I tried it in my project.
Even if I switch to the demo scenes, the error still exists.

@Andronovo-bit
Copy link
Collaborator

Hi again, @qinhanlei;

We tested plugin by creating new project and we faced no problem. Everything was okay.

If your problem continues, can you record short video how you added plugin in your project and it gives error and send it to us ?

@qinhanlei
Copy link
Contributor Author

Hi, @Andronovo-bit

We figured out that there is a third-party DLL in our project that covers HuaweiMobileServices.Nearby.Transfer.Data.

Thank you for your help, and I am so sorry for wasting your time.

Copy link

github-actions bot commented Aug 2, 2024

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.

@Andronovo-bit
Copy link
Collaborator

@qinhanlei, You are welcome. No problem, we are here to help :)

@Andronovo-bit Andronovo-bit added the solved Developer confirm that issue solved. label Aug 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigating We are investigating the current problem new solved Developer confirm that issue solved.
Projects
None yet
Development

No branches or pull requests

2 participants