Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug [Subsystems] Failed to initialize subsystem ARKit-Meshing [error: 1]

Discussion in 'AR' started by compbow, May 27, 2022.

  1. compbow

    compbow

    Joined:
    Oct 11, 2021
    Posts:
    1
    Sadly this was working, and I basicly made no changes that should have impacted this and now it's not working. I also tried to delay init of Face Tracking which doesn't seem to work actually for whatever reason (maybe subsystems are booted regardless if being used / referenced?)

    Also note I tried the work around here with no luck.
    https://forum.unity.com/threads/failed-to-initialize-subsystem-arkit-meshing-error-1.995137/


    iOS Build

    [Subsystems] Loading plugin UnityARKit for subsystem ARKit-Input...


    [Subsystems] UnityARKit successfully registered Provider for ARKit-Input

    [Subsystems] Loading plugin UnityARKit for subsystem ARKit-Meshing...

    [Subsystems] Failed to initialize subsystem ARKit-Meshing [error: 1]


    Code (CSharp):
    1.  
    2. {
    3.   "dependencies": {
    4.     "com.unity.2d.sprite": "1.0.0",
    5.     "com.unity.cinemachine": "2.8.4",
    6.     "com.unity.collab-proxy": "1.15.15",
    7.     "com.unity.ide.rider": "3.0.13",
    8.     "com.unity.ide.visualstudio": "2.0.14",
    9.     "com.unity.ide.vscode": "1.2.5",
    10.     "com.unity.recorder": "3.0.3",
    11.     "com.unity.render-pipelines.universal": "12.1.6",
    12.     "com.unity.streaming-image-sequence": "0.15.2-preview",
    13.     "com.unity.test-framework": "1.1.31",
    14.     "com.unity.textmeshpro": "3.0.6",
    15.     "com.unity.timeline": "1.6.4",
    16.     "com.unity.ugui": "1.0.0",
    17.     "com.unity.visualeffectgraph": "12.1.6",
    18.     "com.unity.visualscripting": "1.7.6",
    19.     "com.unity.xr.arcore": "5.0.0-pre.12",
    20.     "com.unity.xr.arfoundation": "5.0.0-pre.8",
    21.     "com.unity.xr.arkit": "5.0.0-pre.12",
    22.     "com.unity.xr.interaction.toolkit": "2.0.0-pre.5",
    23.     "com.unity.xr.openxr": "1.3.1",
    24.     "com.unity.modules.ai": "1.0.0",
    25.     "com.unity.modules.androidjni": "1.0.0",
    26.     "com.unity.modules.animation": "1.0.0",
    27.     "com.unity.modules.assetbundle": "1.0.0",
    28.     "com.unity.modules.audio": "1.0.0",
    29.     "com.unity.modules.cloth": "1.0.0",
    30.     "com.unity.modules.director": "1.0.0",
    31.     "com.unity.modules.imageconversion": "1.0.0",
    32.     "com.unity.modules.imgui": "1.0.0",
    33.     "com.unity.modules.jsonserialize": "1.0.0",
    34.     "com.unity.modules.particlesystem": "1.0.0",
    35.     "com.unity.modules.physics": "1.0.0",
    36.     "com.unity.modules.physics2d": "1.0.0",
    37.     "com.unity.modules.screencapture": "1.0.0",
    38.     "com.unity.modules.terrain": "1.0.0",
    39.     "com.unity.modules.terrainphysics": "1.0.0",
    40.     "com.unity.modules.tilemap": "1.0.0",
    41.     "com.unity.modules.ui": "1.0.0",
    42.     "com.unity.modules.uielements": "1.0.0",
    43.     "com.unity.modules.umbra": "1.0.0",
    44.     "com.unity.modules.unityanalytics": "1.0.0",
    45.     "com.unity.modules.unitywebrequest": "1.0.0",
    46.     "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
    47.     "com.unity.modules.unitywebrequestaudio": "1.0.0",
    48.     "com.unity.modules.unitywebrequesttexture": "1.0.0",
    49.     "com.unity.modules.unitywebrequestwww": "1.0.0",
    50.     "com.unity.modules.vehicles": "1.0.0",
    51.     "com.unity.modules.video": "1.0.0",
    52.     "com.unity.modules.vr": "1.0.0",
    53.     "com.unity.modules.wind": "1.0.0",
    54.     "com.unity.modules.xr": "1.0.0"
    55.   }[B]


    Code (CSharp):
    1. using System.Collections;
    2. using UnityEngine;
    3. using UnityEngine.XR.ARFoundation;
    4. using Unity.XR.CoreUtils;
    5. using TMPro;
    6.  
    7. [RequireComponent(typeof(XROrigin))]
    8. [RequireComponent(typeof(ARFaceManager))]
    9. public class ARKitBootstrap : MonoBehaviour
    10. {
    11.  
    12.     public TextMeshProUGUI text;
    13.     public GameObject arSession;
    14.  
    15.     void Start()
    16.     {
    17.         text.text = "Starting ...";
    18.         StartCoroutine(InternalStart());
    19.     }
    20.  
    21.     private IEnumerator InternalStart()
    22.     {
    23.         yield return new WaitForSeconds(10.0f);
    24.  
    25.         arSession.SetActive(true);
    26.         GetComponent<XROrigin>().enabled = true;
    27.         GetComponent<ARFaceManager>().enabled = true;
    28.         text.text = "Enabled";
    29.     }
    30. }
    31.  
    [/B]
     
  2. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    956
  3. Abby5201

    Abby5201

    Joined:
    Nov 2, 2018
    Posts:
    2
    Did you fixed it?