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.
** Failed to initialize subsystem ARKit-Meshing [error: 1] **
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]
csharp** **{ "dependencies": { "com.unity.2d.sprite": "1.0.0", "com.unity.cinemachine": "2.8.4", "com.unity.collab-proxy": "1.15.15", "com.unity.ide.rider": "3.0.13", "com.unity.ide.visualstudio": "2.0.14", "com.unity.ide.vscode": "1.2.5", "com.unity.recorder": "3.0.3", "com.unity.render-pipelines.universal": "12.1.6", "com.unity.streaming-image-sequence": "0.15.2-preview", "com.unity.test-framework": "1.1.31", "com.unity.textmeshpro": "3.0.6", "com.unity.timeline": "1.6.4", "com.unity.ugui": "1.0.0", "com.unity.visualeffectgraph": "12.1.6", "com.unity.visualscripting": "1.7.6", "com.unity.xr.arcore": "5.0.0-pre.12", "com.unity.xr.arfoundation": "5.0.0-pre.8", "com.unity.xr.arkit": "5.0.0-pre.12", "com.unity.xr.interaction.toolkit": "2.0.0-pre.5", "com.unity.xr.openxr": "1.3.1", "com.unity.modules.ai": "1.0.0", "com.unity.modules.androidjni": "1.0.0", "com.unity.modules.animation": "1.0.0", "com.unity.modules.assetbundle": "1.0.0", "com.unity.modules.audio": "1.0.0", "com.unity.modules.cloth": "1.0.0", "com.unity.modules.director": "1.0.0", "com.unity.modules.imageconversion": "1.0.0", "com.unity.modules.imgui": "1.0.0", "com.unity.modules.jsonserialize": "1.0.0", "com.unity.modules.particlesystem": "1.0.0", "com.unity.modules.physics": "1.0.0", "com.unity.modules.physics2d": "1.0.0", "com.unity.modules.screencapture": "1.0.0", "com.unity.modules.terrain": "1.0.0", "com.unity.modules.terrainphysics": "1.0.0", "com.unity.modules.tilemap": "1.0.0", "com.unity.modules.ui": "1.0.0", "com.unity.modules.uielements": "1.0.0", "com.unity.modules.umbra": "1.0.0", "com.unity.modules.unityanalytics": "1.0.0", "com.unity.modules.unitywebrequest": "1.0.0", "com.unity.modules.unitywebrequestassetbundle": "1.0.0", "com.unity.modules.unitywebrequestaudio": "1.0.0", "com.unity.modules.unitywebrequesttexture": "1.0.0", "com.unity.modules.unitywebrequestwww": "1.0.0", "com.unity.modules.vehicles": "1.0.0", "com.unity.modules.video": "1.0.0", "com.unity.modules.vr": "1.0.0", "com.unity.modules.wind": "1.0.0", "com.unity.modules.xr": "1.0.0" }[B]** **
using System.Collections;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using Unity.XR.CoreUtils;
using TMPro;
[RequireComponent(typeof(XROrigin))]
[RequireComponent(typeof(ARFaceManager))]
public class ARKitBootstrap : MonoBehaviour
{
public TextMeshProUGUI text;
public GameObject arSession;
void Start()
{
text.text = "Starting ...";
StartCoroutine(InternalStart());
}
private IEnumerator InternalStart()
{
yield return new WaitForSeconds(10.0f);
arSession.SetActive(true);
GetComponent<XROrigin>().enabled = true;
GetComponent<ARFaceManager>().enabled = true;
text.text = "Enabled";
}
}
[/B]