Skip to content

QUESTIONS AND ANSWERS🔗

Where to turn in case of problems?

All contacts and the recommended template appear in this section

SteamAPI_Init() failed on MyGames Store

In case you see the SteamAPI_Init() failed. Refer to Valve's documentation or the comment above this line for more information., check the following:

  • App in MyGames was created with "Steam Migration" flag
  • You are launching the app from the MyGames Game Center
An error occurred Using WebView from more than one process at once with the same data directory is not supported.

In order to fix the error: Fatal Exception: java.lang.RuntimeException:Using WebView from more than one process at once with the same data directory is not supported., it will be necessary to define the directory used to store WebView data for the current process in the onCreate method of the Application class:

...
public class YourApplicationClass extends Application {
        @Override
        public void onCreate() {
            super.onCreate();
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
                if (getPackageName() != getProcessName()) WebView.setDataDirectorySuffix(getProcessName());
            }
        ...
    }
}

Next, specify in the file AndroidManifest.xml name of your Application class:

<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.player"
xmlns:tools="http://schemas.android.com/tools">
<application android:name=".YourApplicationClass">
...
</application>

In order to create YourApplicationClass class and modify AndroidManifest.xml you can upload your project from unity to android studio. Or use the description of how to modify AndroidManifest.xml and the creation of the java class YourApplicationClassin your editor, the YourApplicationClass class should be located in the same place as AndroidManifest.xml.

If your application already uses libraries that use the Application class, just add the directory definition for WebView'webview.setDataDirectorySuffix()to theonCreate` method, and also make sure that the changes made do not conflict with the libraries used.

MRGSBilling module🔗

Products are not loading, what should I do?

On all platforms except Plarium, we download products from the store, we add products to the MRGS site, so you need to check that the products are correct, and sometimes you need to check the availability of products for the store to apply the changes. For Plarium, check the correctness of filling out the products on the MRGS website.

Products take a long time to load, what should I do?

If the project immediately requests a large number of products (200+) in one request, then the request execution time can be quite large. Since the products are downloaded from the store via the web, these are simple one-stop solutions. By dividing the products into two requests: "priority" 10-15 items and "everything else", you can significantly increase the readiness of the store.

Payments on the MRGS website were sewn in the status" Made a payment "

Checking the correctness of the added keys for stores and the correctness of their creation, in 99% of cases in them. Often, for example, there are not enough rights in JSON to verify purchases in GoogePlay. Read more about obtaining/creating validation keys here

MRGSShowcase and MRGSAdvertising module🔗

Ads won't load/app storefront won't open or no banners in it

Most likely, test advertising campaigns on the server were not started for you, and therefore there is nothing to show. To contact the contact listed on the ad setup page.

MRGSAnalytics module🔗

Failed AppsFlyer validation on iOS

The AF integration test for install attribution on iOS can work bad with iOS 14.5+. Starting with this version, Apple has removed the ability to get an IDFA (required for attribution) without extended permissions. Delaying the launch of AppsFlyer while the IDFA has already been received may resolve the issue. Use waitForATTUserAuthorization parameter. For example, appsFlyerParams.waitForATTUserAuthorization = 10.0f;. See the MRGSAnalytics documentation for details.


Last update: 2023-09-27
Created: 2022-01-24