0 votes
by (140 points)
recategorized by

Hello
We are porting our game to Pico Neo3.
We're having trouble with Achievement.

The unity engine version is 2019.4.19f1 version.
The version of Pico SDK uses PicoVRUnitySDK64bit-2.8.11B574-20210826.

We are using the Achievement example provided by Pico as it is.
App id, App key, and App secret were also set to be issued by Developer Platform.

The following error message occurs.

10-15 14:07:14.156 20776 20829 I Unity   : Received init error
10-15 14:07:14.157 20776 20829 I Unity   : Error: Message:Achievementurl is not available Code: -1 HttpCode: 0

The Android Manifest file used in our project is as follows.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.your.package" android:versionName="1.0.0" android:versionCode="1">
  <!--Write config-->
  <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
  <!--Read config-->
  <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
  <!--Payment-->
  <uses-permission android:name="android.permission.INTERNET" />
  <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
  <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <!--VIBRATE-->
  <uses-permission android:name="android.permission.VIBRATE" />
  <!--Set brightness -->
  <uses-permission android:name="android.permission.WRITE_SETTINGS" />
  <!--Change language -->
  <uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
  <!--Bluetooth -->
  <uses-permission android:name="android.permission.BLUETOOTH" />
  <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
  <uses-permission android:name="android.permission.INJECT_EVENTS" />
  <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
  <application android:icon="@drawable/app_icon" android:label="@string/app_name" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" android:debuggable="false" android:allowBackup="true" android:supportsRtl="true" android:requestLegacyExternalStorage="true" android:usesCleartextTraffic="true">
    <meta-data android:name="pvr.sdk.version" android:value="Unity_2.8.11.5" />
    <meta-data android:name="pvr.app.type" android:value="vr" />
    <meta-data android:name="pvr.display.orientation" android:value="180" />
    <activity android:name="com.unity3d.player.UnityPlayerNativeActivityPico" android:label="@string/app_name" android:screenOrientation="landscape" android:launchMode="singleTask" android:configChanges="screenSize|orientation|keyboardHidden|keyboard">
      <intent-filter>
        <action android:name="android.intent.action.MAIN" />
        <category android:name="android.intent.category.LAUNCHER" />
      </intent-filter>
      <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
      <meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
    </activity>
    <activity android:name="com.pico.loginpaysdk.UnityAuthInterface" android:screenOrientation="landscape" android:configChanges="screenSize|orientation|keyboardHidden|keyboard">
    </activity>
    <activity android:name="com.pico.loginpaysdk.component.PicoSDKBrowser" android:configChanges="keyboardHidden|orientation" android:windowSoftInputMode="adjustResize" android:exported="false">
    </activity>
    <service android:name="com.picovr.hummingbirdsvc.AutoConnectService">
      <intent-filter>
        <action android:name="com.picovr.hummingbirdsvc.AutoConnectService" />
      </intent-filter>
    </service>
    <service android:name="com.picovr.picovrlib.hummingbird.HummingBirdControllerService" android:process=":remote">
      <intent-filter>
        <action android:name="com.picovr.picovrlib.humingbird.HumingBirdAIDLService" />
      </intent-filter>
    </service>
    <!-- China-->
    <!--Application ID-->
    <meta-data android:name="pico_app_id" android:value="Our App Id" />
    <!--Application key-->
    <meta-data android:name="pico_app_key" android:value="Our App Key" />
    <!--Granting scale-->
    <meta-data android:name="pico_scope" android:value="get_user_info" />
    <!--Merchant ID-->
    <meta-data android:name="pico_merchant_id" android:value="Our Publisher Id" />
    <!--App Secret-->
    <meta-data android:name="pico_pay_key" android:value="Our App Secret" />
    <!-- Global -->
    <!--APPID -->
    <meta-data android:name="pico_app_id_foreign" android:value="Our App Id" />
    <!--APPKEY-->
    <meta-data android:name="pico_app_key_foreign" android:value="Our App Key" />
    <!--Authorization Scope-->
    <meta-data android:name="pico_scope_foreign" android:value="get_user_info" />
    <!--Developer ID-->
    <meta-data android:name="pico_merchant_id_foreign" android:value="Our Publisher Id" />
    <!--Payment Key-->
    <meta-data android:name="pico_pay_key_foreign" android:value="Our App Secret" />
    <meta-data android:name="pico_redirectUrl" android:value="http://www.picovr.com" />
    <!--Scope of authorization-->
    <meta-data android:name="com.pvr.instructionset" android:value="32" />
    <!--Whether the platform animation is displayed.-->
    <meta-data android:name="platform_logo" android:value="0" />
    <!--2DLoading-->
    <meta-data android:name="LoadingContent" android:resource="@string/loading" />
    <meta-data android:name="loadingcolor" android:resource="@color/custom" />
    <meta-data android:name="loadingtextsize" android:value="16" />
    <meta-data android:name="loadingwidth" android:value="500" />
    <!--loadingtext width-->
    <meta-data android:name="loadingheight" android:value="100" />
    <!--loadingtext height-->
    <meta-data android:name="loadingmarquee" android:value="1" />
    <!--0 no marquee 1 marquee-->
    <meta-data android:name="bottommargin" android:value="100" />
    <meta-data android:name="marqueecount" android:value="10" />
    <meta-data android:name="loadingalign" android:value="left" />
    <meta-data android:name="com.pvr.hmd.trackingmode" android:value="6dof" />
    <meta-data android:name="isPUI" android:value="0" />
    <meta-data android:name="enable_eyetracking" android:value="0" />
    <meta-data android:name="enable_cpt" android:value="0" />
    <meta-data android:name="platform_high" android:value="1" />
    <meta-data android:name="enable_entitlementcheck" android:value="1" />
    <meta-data android:name="MSAA" android:value="2" />
  </application>
</manifest>

1 Answer

0 votes
by (44.8k points)

Hello, you can send your apk with the title of your question to this mail address : pico_devsupport@bytedance.com

by (140 points)

I attached the apk file and sent it.
Please check it out.
Thank you.

by (44.8k points)

Hello, may I ask whether your App has been uploaded to our store and whether you have connected with our business colleagues? I see you have entitlement check in your app, so you need to remove this option for local testing.

enter image description here
Do you have any other Game Service-related requirements for your app? You can send them to us via email.

by (140 points)
edited by

We are preparing to upload the app.
I have completed the developer registration, submitted the app registration application, and before uploading the APK.

enter image description here

We are in contact with a business colleagues in Korea, but we do not receive technical support from him.

Can you please proceed with the test if I send you the APK that removed the entitlement check?

by (140 points)

Hello

I am sending you the APK file with the entitlement check removed.

And I reproduced a project with the same problem as our project and uploaded it as a PicoTest zip file.

This project has only modified the Manifest file after importing PicoSDK. Nevertheless, the same problem occurs.

The Unity version uses 2019.4.19f1.

Thank you.

by (44.8k points)

Hello, is the API Name you created consistent with the code?
enter image description here
enter image description here

...