In HMS plugin Documentation, you discuss about HMS manager prefab.....but in your HMS plugin content there is no prefab named "HMS manager" prefab - huawei-mobile-services

Feel free to use this quick reply template to facilitate your feedback handling.
What were you doing when you ran into the problem?
Answer: no reward wii recive....and ads not recive........as shown in refrence ppic below errors are come out when project is run
At which step did the problem occur?
Answer:
In HMS plugin Documentation, you discuss about HMS manager prefab.....but in your HMS plugin content there is no prefab named "HMS manager" prefab......what should we drag in our scene to link our project to HMS services
What were you expecting?
Answer:
What actually happened?
Answer:
What are the model and OS version of the device you were using?
Answer:
What are the versions of the integrated kit SDK and AREngine (if any)?
Answer:
Paste a screenshot if what you saw when the problem occurred.
Answer:
Or upload it by clicking on the picture icon above.
Answer:

There are different prefabs for different HMS kits and prefabs contain their own scripts as shown above.
For example, if you want to use ads kit, you should add 'AdsManager' prefab. AdsManager prefab has different scripts like RewardAdManager, InterstitalAdManager, BannerAdManager.
You'll need to deploy the needed HMS kit prefab inside your scene.
Please check this link for integration steps

Related

Unity 3D GameObjects not visible in HoloLens2, MRTK

I followed this tutorial https://learn.microsoft.com/en-us/training/modules/learn-mrtk-tutorials/1-1-introduction and did every step. But when I run it on the HoloLens, I don't see anything.
Build configurations are as in the tutorial, HoloLens2 is in Developer mode and has been paired before. Tools are as in https://learn.microsoft.com/de-de/windows/mixed-reality/develop/install-the-tools?tabs=unity
I am building the app over WIFI.
When the app starts on HoloLens, mesh appears for a moment and I get a question asking if it is allowed to use on my microphone.
"Build with Unity" or similar does not appear, and no objects either. I see "nothing".
What could be the problem?
I use:
Unity 2021.1.20f
MRTK v1.0.2206. Preview (from Microsoft Download Center)
It was actually the wrong Unity version.
I am now using Unity 2020.3.4 and I can see and move the objects.

Can I integrate HMS nearby Service and analytics kit into my Unity Game? and How?

I want to add HMS nearby Service and analytics kit into my unity Game, I read through a few Q&As here but those answers are here and there, not complete. Could anyone tell me what I really need to do so to integrate them into my code properly? thanks
For overall procedures as to how to deploy your Unity Game into Huawei App. Gallery, please refer to the official documentation at: https://api-udp.unity.com/guideDoc/HUAWEI
The easiest way to integrate HMS Kits into your unity Game, you can use HMS Unity Plugin. The HMS Unity Plugin is a tool that helps developers to quickly integrate Huawei Mobile Services (HMS) to their games in Unity without worrying about the boilerplate codes that have to be written in the background. All the necessary backend code is dealt with for you, and all you have to do is to focus on your own game and HMS features.
Huawei plugin’s GitHub page is at: https://github.com/EvilMindDevs/hms-unity-plugin/tree/2.0 Please make sure to download the latest version of the plugin for the corresponding Unity version.
To start using the plugin you must go to link, for the readme of the official GitHub page of the plugin and complete the phases, starting from the phase called “1 — Register your app at Huawei Developer” to “4 — Connect your game with any HMS Kit”, so that the AppGallery Connect side of your application is done. HMS requires AppGallery Connect configurations to correctly work with the in-game features you want to implement.
Currently available HMS Kits in Huawei plugin are:
To use any kit, you must import the plugin (downloaded from the releases page) and click on the kits that you want to use. One example:
Configure your manifest
Connect your game with the HMS Managers
Connect the HMS Callbacks with your game

How to integrate Huawei Mobile Services (HMS) in Unity?

I've found a lot of guidelines on how to integrate HMS in my apps. But majority of them are different or using android studio. May I know which one is the latest guidelines to integrate HMS in my apps for Unity.
Also, I want to enable In-App-Purchase (subscription) for my apps as well.
Thanks in advance.
UPDATED
Currently I'm trying to implement In-App-Purchase for huawei. Huawei tech said that users need to signIn first before they can use IAP. But I received this error while testing signIn
How to obtain product info ? here
AFAIK you have two main options:
UDP SDK from Unity, which is the Unity official solution to HMS in Unity. However has been under maintenance for some days now.
Unity HMS Plugin from EvilMinds, an open source alternative that is already functional and includes supports to more HMS kits. Looks pretty promising for the future.
In any case you can still manually access HMS Android SDK directly using Unity SDK Android API.
Unity provides the HMS Plugin here: Unity Asset Store > Huawei HMS Core App Services
The README file contains information about development guides, API references. For more technical questions, please submit a ticket with Unity Customer Service.
Currently Unity does not support the In-App-Purchase (subscription) function. It will be planned in the future.
Update:
For the IAP error:
It is a null pointer. Please check for unassigned objects. If you cannot find anything, please delete project and install again cause sometimes these kind of things happening.

Why the integration of Flutter with Unity and AR Vuforia makes no object appears?

I want to integrate Flutter app with Unity and AR Vuforia. I tried to use library: flutter_unity_widget (https://pub.dev/packages/flutter_unity_widget).
When integrating Flutter app with Unity without Vuforia it works very well. But when I tried to use it with Vuforia … OK, I didn't get any error and I could build app, but when I tested it, it didn't show any object.
I did all the configuration with the library tutorial.
Maybe some of you integrated something like that?
Do you have any sample project with it?
You can check out this blog about "Building with Flutter + Unity (AR Experience Toolkit)" for unity.
And for AR Vuforia, it seems that support for this is not yet materialized as of this GitHub post. You can watch out for the updates there.
The same thing happened to me when I was testing on iOS, Android was OK
I went through all the steps, only that Vuforia didn't recognize anything. According to this issue Dataset Foo could not be loaded and cannot be activated, I dragged and dropped the data folder and Vuforia into the Runner.
And everything was working fine

Xcode hook up with Unity

Hi i am new bee in Unity but i have 1 year experience in Xcode, I am doing an app in Unity for iPhone but getting bit confuse on how can i hook-up Xcode with Unity, I want to Facebook sharing, Twitter Sharing and also iOS native Email sharing(Using Mail Composer) in Unity but i don't get any help ful solution to do task in Unity, I only get Plugins which i need to Purchase first. So i want to do this task in Xcode it reduce and time and money and rest of work on Unity so is this possible that we can Communicate between Xcode and Unity? If Possible then kindly share some knowledge and links with me so that i can do this task ASAP.
Thanks in Advance.
You can start write your own plugin to complete the communication between Unity3D and iOS.
From iOS to Unity, You can just use UnitySendMessage, which is enough in most of time. You can also try to use a event and delegate in Unity Script to handle more complex situation.
From Unity to iOS, you need to implement plugin yourself. First of all, use a .cs file to declare the external method. And then implement the native code in a .mm file in Xcode and "extern C" them to the Unity. Then you can call the .cs method and get a native function called. You need a Unity Pro license to use the plugin feature.
For UnitySendMessage and Unity plugin, visit Unity Doc-Building Plugins for iOS. You can find an example in the doc called Bonjour Browser Sample. It is a very good starting point for you. If you have 1 year experience with Xcode, I think it will be easy for you.
For use delegate and event in Unity, visit Prime31's Unity Tip video.
Check out Niklas's free unity iOS plugin.
http://forum.unity3d.com/threads/122681-Free-facebook-Plugin-for-Unity-iOS
It doesn't work out of the box anymore, but with a few changes and updates you can get it working.
If you already have xCode experience then hopefully the extra work should be trivial since the Facebook SDK docs are pretty good.