Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Debugging help for Face Tracking + MARS

Discussion in 'Unity MARS' started by erikwp, Apr 5, 2022.

  1. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    Hi - I don't know if this is a MARS specific issue but face tracking is not working at all for me. I've tried simple hello world type tests, both on a new ipad and iphone 12 and its not working. In simulation mode it is working on the example video feed but once i build it to my ios device -- nothing. Body tracking works fine, only face tracking is not working. All the newest packages are installed via package manager.

    The only thing I can think of is to revert to older ARKit / Unity foundation package version, but there isn't even a way in Package Manager to revert to older versions anymore

    Unity version: 2021.2.18 (also on 2021.2.16)
    ARKit / AR Foundation version: 4.2.2
    IOS version: 15.4.1
     
  2. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    Here is the debug logs from xcode when I run my app::
    Code (CSharp):
    1.  
    2. 2022-04-05 11:38:27.931558-0500 mirror[2254:341142] Built from '2021.2/staging' branch, Version '2021.2.18f1 (0c6e675195cf)', Build type 'Development', Scripting Backend 'il2cpp'
    3.  
    4. 2022-04-05 11:38:27.932633-0500 mirror[2254:341142] MemoryManager: Using 'Default' Allocator.
    5.  
    6. [UnityMemory] Configuration Parameters - Can be set up in boot.config
    7.  
    8.     "memorysetup-bucket-allocator-granularity=16"
    9.  
    10.     "memorysetup-bucket-allocator-bucket-count=8"
    11.  
    12.     "memorysetup-bucket-allocator-block-size=4194304"
    13.  
    14.     "memorysetup-bucket-allocator-block-count=1"
    15.  
    16.     "memorysetup-main-allocator-block-size=16777216"
    17.  
    18.     "memorysetup-thread-allocator-block-size=16777216"
    19.  
    20.     "memorysetup-gfx-main-allocator-block-size=16777216"
    21.  
    22.     "memorysetup-gfx-thread-allocator-block-size=16777216"
    23.  
    24.     "memorysetup-cache-allocator-block-size=4194304"
    25.  
    26.     "memorysetup-typetree-allocator-block-size=2097152"
    27.  
    28.     "memorysetup-profiler-bucket-allocator-granularity=16"
    29.  
    30.     "memorysetup-profiler-bucket-allocator-bucket-count=8"
    31.  
    32.     "memorysetup-profiler-bucket-allocator-block-size=4194304"
    33.  
    34.     "memorysetup-profiler-bucket-allocator-block-count=1"
    35.  
    36.     "memorysetup-profiler-allocator-block-size=16777216"
    37.  
    38.     "memorysetup-profiler-editor-allocator-block-size=1048576"
    39.  
    40.     "memorysetup-temp-allocator-size-main=4194304"
    41.  
    42.     "memorysetup-job-temp-allocator-block-size=2097152"
    43.  
    44.     "memorysetup-job-temp-allocator-block-size-background=1048576"
    45.  
    46.     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    47.  
    48.     "memorysetup-temp-allocator-size-background-worker=32768"
    49.  
    50.     "memorysetup-temp-allocator-size-job-worker=262144"
    51.  
    52.     "memorysetup-temp-allocator-size-preload-manager=262144"
    53.  
    54.     "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    55.  
    56.     "memorysetup-temp-allocator-size-audio-worker=65536"
    57.  
    58.     "memorysetup-temp-allocator-size-cloud-worker=32768"
    59.  
    60.     "memorysetup-temp-allocator-size-gfx=262144"
    61.  
    62. -> applicationDidFinishLaunching()
    63.  
    64. Found 3 interfaces on host : 0) 10.93.2.11 1) 162.165.5.241 2) 192.168.100.13
    65.  
    66. Multi-casting "[IP] 10.93.2.11 [Port] 55000 [Flags] 2 [Guid] 171254066 [EditorId] 485543332 [Version] 1048832 [Id] iPhonePlayer(8,iPhone):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] mirror" to [225.0.0.222:54997]...
    67.  
    68. 2022-04-05 11:38:28.116547-0500 mirror[2254:341142] Metal GPU Frame Capture Enabled
    69.  
    70. 2022-04-05 11:38:28.116659-0500 mirror[2254:341142] Metal API Validation Enabled
    71.  
    72.  
    73. Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
    74.  
    75. Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated
    76.  
    77.  
    78. -> applicationDidBecomeActive()
    79.  
    80. [Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/DA5AF9E7-D186-43CC-AF4E-1B1634649441/mirror.app/Data/UnitySubsystems
    81.  
    82. [Subsystems] No descriptors matched for  examples in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
    83.  
    84. [Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json
    85.  
    86. [Subsystems] No descriptors matched for  displays in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
    87.  
    88. [Subsystems] 1 'meshings' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json
    89.  
    90. GfxDevice: creating device client; threaded=1; jobified=1
    91.  
    92. Initializing Metal device caps: Apple A14 GPU
    93.  
    94. Initialize engine version: 2021.2.18f1 (0c6e675195cf)
    95.  
    96. XRGeneral Settings awakening...
    97.  
    98. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    99.  
    100. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    101.  
    102. UnityEngine.Logger:Log(LogType, Object)
    103.  
    104. UnityEngine.Debug:Log(Object)
    105.  
    106. UnityEngine.XR.Management.XRGeneralSettings:Awake()
    107.  
    108.  
    109. 2022-04-05 11:38:28.936450-0500 mirror[2254:341142]
    110.  
    111.     // 2D joint skeleton
    112.  
    113.     enum JointIndices
    114.  
    115.     {
    116.  
    117.         Invalid = -1,
    118.  
    119.         Head = 0, // parent: Neck1 [1]
    120.  
    121.         Neck1 = 1, // parent: Root [16]
    122.  
    123.         RightShoulder1 = 2, // parent: Neck1 [1]
    124.  
    125.         RightForearm = 3, // parent: RightShoulder1 [2]
    126.  
    127.         RightHand = 4, // parent: RightForearm [3]
    128.  
    129.         LeftShoulder1 = 5, // parent: Neck1 [1]
    130.  
    131.         LeftForearm = 6, // parent: LeftShoulder1 [5]
    132.  
    133.         LeftHand = 7, // parent: LeftForearm [6]
    134.  
    135.         RightUpLeg = 8, // parent: Root [16]
    136.  
    137.         RightLeg = 9, // parent: RightUpLeg [8]
    138.  
    139.         RightFoot = 10, // parent: RightLeg [9]
    140.  
    141.         LeftUpLeg = 11, // parent: Root [16]
    142.  
    143.         LeftLeg = 12, // parent: LeftUpLeg [11]
    144.  
    145.         LeftFoot = 13, // parent: LeftLeg [12]
    146.  
    147.         RightEye = 14, // parent: Head [0]
    148.  
    149.         LeftEye = 15, // parent: Head [0]
    150.  
    151.         Root = 16, // parent: <none> [-1]
    152.  
    153.     }
    154.  
    155. 2022-04-05 11:38:28.940726-0500 mirror[2254:341142]
    156.  
    157.     // 3D joint skeleton
    158.  
    159.     enum JointIndices
    160.  
    161.     {
    162.  
    163.         Invalid = -1,
    164.  
    165.         Root = 0, // parent: <none> [-1]
    166.  
    167.         Hips = 1, // parent: Root [0]
    168.  
    169.         LeftUpLeg = 2, // parent: Hips [1]
    170.  
    171.         LeftLeg = 3, // parent: LeftUpLeg [2]
    172.  
    173.         LeftFoot = 4, // parent: LeftLeg [3]
    174.  
    175.         LeftToes = 5, // parent: LeftFoot [4]
    176.  
    177.         LeftToesEnd = 6, // parent: LeftToes [5]
    178.  
    179.         RightUpLeg = 7, // parent: Hips [1]
    180.  
    181.         RightLeg = 8, // parent: RightUpLeg [7]
    182.  
    183.         RightFoot = 9, // parent: RightLeg [8]
    184.  
    185.         RightToes = 10, // parent: RightFoot [9]
    186.  
    187.         RightToesEnd = 11, // parent: RightToes [10]
    188.  
    189.         Spine1 = 12, // parent: Hips [1]
    190.  
    191.         Spine2 = 13, // parent: Spine1 [12]
    192.  
    193.         Spine3 = 14, // parent: Spine2 [13]
    194.  
    195.         Spine4 = 15, // parent: Spine3 [14]
    196.  
    197.         Spine5 = 16, // parent: Spine4 [15]
    198.  
    199.         Spine6 = 17, // parent: Spine5 [16]
    200.  
    201.         Spine7 = 18, // parent: Spine6 [17]
    202.  
    203.         LeftShoulder1 = 19, // parent: Spine7 [18]
    204.  
    205.         LeftArm = 20, // parent: LeftShoulder1 [19]
    206.  
    207.         LeftForearm = 21, // parent: LeftArm [20]
    208.  
    209.         LeftHand = 22, // parent: LeftForearm [21]
    210.  
    211.         LeftHandIndexStart = 23, // parent: LeftHand [22]
    212.  
    213.         LeftHandIndex1 = 24, // parent: LeftHandIndexStart [23]
    214.  
    215.         LeftHandIndex2 = 25, // parent: LeftHandIndex1 [24]
    216.  
    217.         LeftHandIndex3 = 26, // parent: LeftHandIndex2 [25]
    218.  
    219.         LeftHandIndexEnd = 27, // parent: LeftHandIndex3 [26]
    220.  
    221.         LeftHandMidStart = 28, // parent: LeftHand [22]
    222.  
    223.         LeftHandMid1 = 29, // parent: LeftHandMidStart [28]
    224.  
    225.         LeftHandMid2 = 30, // parent: LeftHandMid1 [29]
    226.  
    227.         LeftHandMid3 = 31, // parent: LeftHandMid2 [30]
    228.  
    229.         LeftHandMidEnd = 32, // parent: LeftHandMid3 [31]
    230.  
    231.         LeftHandPinkyStart = 33, // parent: LeftHand [22]
    232.  
    233.         LeftHandPinky1 = 34, // parent: LeftHandPinkyStart [33]
    234.  
    235.         LeftHandPinky2 = 35, // parent: LeftHandPinky1 [34]
    236.  
    237.         LeftHandPinky3 = 36, // parent: LeftHandPinky2 [35]
    238.  
    239.         LeftHandPinkyEnd = 37, // parent: LeftHandPinky3 [36]
    240.  
    241.         LeftHandRingStart = 38, // parent: LeftHand [22]
    242.  
    243.         LeftHandRing1 = 39, // parent: LeftHandRingStart [38]
    244.  
    245.         LeftHandRing2 = 40, // parent: LeftHandRing1 [39]
    246.  
    247.         LeftHandRing3 = 41, // parent: LeftHandRing2 [40]
    248.  
    249.         LeftHandRingEnd = 42, // parent: LeftHandRing3 [41]
    250.  
    251.         LeftHandThumbStart = 43, // parent: LeftHand [22]
    252.  
    253.         LeftHandThumb1 = 44, // parent: LeftHandThumbStart [43]
    254.  
    255.         LeftHandThumb2 = 45, // parent: LeftHandThumb1 [44]
    256.  
    257.         LeftHandThumbEnd = 46, // parent: LeftHandThumb2 [45]
    258.  
    259.         Neck1 = 47, // parent: Spine7 [18]
    260.  
    261.         Neck2 = 48, // parent: Neck1 [47]
    262.  
    263.         Neck3 = 49, // parent: Neck2 [48]
    264.  
    265.         Neck4 = 50, // parent: Neck3 [49]
    266.  
    267.         Head = 51, // parent: Neck4 [50]
    268.  
    269.         Jaw = 52, // parent: Head [51]
    270.  
    271.         Chin = 53, // parent: Jaw [52]
    272.  
    273.         LeftEye = 54, // parent: Head [51]
    274.  
    275.         LeftEyeLowerLid = 55, // parent: LeftEye [54]
    276.  
    277.         LeftEyeUpperLid = 56, // parent: LeftEye [54]
    278.  
    279.         LeftEyeball = 57, // parent: LeftEye [54]
    280.  
    281.         Nose = 58, // parent: Head [51]
    282.  
    283.         RightEye = 59, // parent: Head [51]
    284.  
    285.         RightEyeLowerLid = 60, // parent: RightEye [59]
    286.  
    287.         RightEyeUpperLid = 61, // parent: RightEye [59]
    288.  
    289.         RightEyeball = 62, // parent: RightEye [59]
    290.  
    291.         RightShoulder1 = 63, // parent: Spine7 [18]
    292.  
    293.         RightArm = 64, // parent: RightShoulder1 [63]
    294.  
    295.         RightForearm = 65, // parent: RightArm [64]
    296.  
    297.         RightHand = 66, // parent: RightForearm [65]
    298.  
    299.         RightHandIndexStart = 67, // parent: RightHand [66]
    300.  
    301.         RightHandIndex1 = 68, // parent: RightHandIndexStart [67]
    302.  
    303.         RightHandIndex2 = 69, // parent: RightHandIndex1 [68]
    304.  
    305.         RightHandIndex3 = 70, // parent: RightHandIndex2 [69]
    306.  
    307.         RightHandIndexEnd = 71, // parent: RightHandIndex3 [70]
    308.  
    309.         RightHandMidStart = 72, // parent: RightHand [66]
    310.  
    311.         RightHandMid1 = 73, // parent: RightHandMidStart [72]
    312.  
    313.         RightHandMid2 = 74, // parent: RightHandMid1 [73]
    314.  
    315.         RightHandMid3 = 75, // parent: RightHandMid2 [74]
    316.  
    317.         RightHandMidEnd = 76, // parent: RightHandMid3 [75]
    318.  
    319.         RightHandPinkyStart = 77, // parent: RightHand [66]
    320.  
    321.         RightHandPinky1 = 78, // parent: RightHandPinkyStart [77]
    322.  
    323.         RightHandPinky2 = 79, // parent: RightHandPinky1 [78]
    324.  
    325.         RightHandPinky3 = 80, // parent: RightHandPinky2 [79]
    326.  
    327.         RightHandPinkyEnd = 81, // parent: RightHandPinky3 [80]
    328.  
    329.         RightHandRingStart = 82, // parent: RightHand [66]
    330.  
    331.         RightHandRing1 = 83, // parent: RightHandRingStart [82]
    332.  
    333.         RightHandRing2 = 84, // parent: RightHandRing1 [83]
    334.  
    335.         RightHandRing3 = 85, // parent: RightHandRing2 [84]
    336.  
    337.         RightHandRingEnd = 86, // parent: RightHandRing3 [85]
    338.  
    339.         RightHandThumbStart = 87, // parent: RightHand [66]
    340.  
    341.         RightHandThumb1 = 88, // parent: RightHandThumbStart [87]
    342.  
    343.         RightHandThumb2 = 89, // parent: RightHandThumb1 [88]
    344.  
    345.         RightHandThumbEnd = 90, // parent: RightHandThumb2 [89]
    346.  
    347.     }
    348.  
    349. [Subsystems] Loading plugin UnityARKit for subsystem ARKit-Input...
    350.  
    351. [Subsystems] UnityARKit successfully registered Provider for ARKit-Input
    352.  
    353. [Subsystems] UnityARKit successfully registered Provider for ARKit-Input
    354.  
    355. [Subsystems] UnityARKit successfully registered Provider for ARKit-Meshing
    356.  
    357. [Subsystems] Loading plugin UnityARKit for subsystem ARKit-Meshing...
    358.  
    359. New input system (experimental) initialized
    360.  
    361. 2022-04-05 11:38:29.090361-0500 mirror[2254:341142] Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x131010c20>.
    362.  
    363. UnloadTime: 2.807792 ms
    364.  
    365. MARS GeoLocation is not configured to request location service permission for this project. See 'GeoLocationModule' asset.
    366.  
    367. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    368.  
    369. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    370.  
    371. UnityEngine.Logger:Log(LogType, Object)
    372.  
    373. UnityEngine.Debug:Log(Object)
    374.  
    375. Unity.MARS.Providers.GeoLocationModule:Unity.XRTools.ModuleLoader.IModule.LoadModule()
    376.  
    377. Unity.XRTools.ModuleLoader.ModuleLoaderCore:LoadModulesWithTypes(List`1)
    378.  
    379. Unity.XRTools.ModuleLoader.ModuleLoaderCore:LoadModules()
    380.  
    381. Unity.XRTools.ModuleLoader.ModuleLoaderCore:ReloadModules()
    382.  
    383. Unity.MARS.MARSSession:Awake()
    384.  
    385.  
    386. [Subsystems] Subsystem ARKit-Input already instantiated, returning reference
    387.  
    388. [Subsystems] Subsystem ARKit-Meshing already instantiated, returning reference
    389.  
    390. No active UnityEngine.XR.ARSubsystems.XRFaceSubsystem is available. Please ensure that a valid loader configuration exists in the XR project settings.
    391.  
    392. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    393.  
    394. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    395.  
    396. UnityEngine.Logger:LogFormat(LogType, String, Object[])
    397.  
    398. UnityEngine.Debug:LogWarningFormat(String, Object[])
    399.  
    400. UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:GetActiveSubsystemInstance()
    401.  
    402. UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:EnsureSubsystemInstanceSet()
    403.  
    404. UnityEngine.XR.ARFoundation.SubsystemLifecycleManager`3:OnEnable()
    405.  
    406. UnityEngine.XR.ARFoundation.ARTrackableManager`5:OnEnable()
    407.  
    408. UnityEngine.GameObject:Internal_AddComponentWithType(Type)
    409.  
    410. UnityEngine.GameObject:AddComponent(Type)
    411.  
    412. UnityEngine.GameObject:AddComponent()
    413.  
    414. Unity.MARS.Providers.ARFoundation.ARFoundationFaceTrackingProvider:Unity.XRTools.ModuleLoader.IFunctionalityProvider.LoadProvider()
    415.  
    416. Unity.XRTools.ModuleLoader.FunctionalityIsland:AddProvider(Type, IFunctionalityProvider)
    417.  
    418. Unity.XRTools.ModuleLoader.FunctionalityIsland:prepareProviders(HashSet`1, List`1, Boolean)
    419.  
    420. Unity.XRTools.ModuleLoader.FunctionalityIsland:InjectFunctionality(List`1, List`1)
    421.  
    422. Unity.MARS.Settings.MARSSceneModule:Unity.XRTools.ModuleLoader.IModuleBehaviorCallbacks.OnBehaviorAwake()
    423.  
    424. Unity.XRTools.ModuleLoader.ModuleLoaderCore:OnBehaviorAwake()
    425.  
    426. Unity.MARS.MARSSession:Awake()
    427.  
    428.  
    429. Configuration Descriptor 0x1fb8e52d0 (rank 2): Rotation and Orientation, Plane Tracking, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
    430.  
    431. Configuration Descriptor 0x1fb8e5118 (rank 0): World Facing Camera, Rotation and Orientation, Plane Tracking, Image Tracking, Object Tracking, Environment Probes, 2D Body Tracking, People Occlusion Stencil, People Occlusion Depth, Collaboration, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast, Meshing, Mesh Classification, Environment Depth, Environment Depth Temporal Smoothing
    432.  
    433. Configuration Descriptor 0x1fb8e53c0 (rank 1): World Facing Camera, Rotation Only, 2D Body Tracking, People Occlusion Stencil, People Occlusion Depth, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Environment Depth, Environment Depth Temporal Smoothing
    434.  
    435. Configuration Descriptor 0x1fb8e4a60 (rank 1): World Facing Camera, Rotation Only, Image Tracking, 2D Body Tracking, People Occlusion Stencil, People Occlusion Depth, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Environment Depth, Environment Depth Temporal Smoothing
    436.  
    437. Configuration Descriptor 0x1fb8e61f8 (rank -1): World Facing Camera, Rotation and Orientation, Plane Tracking, Image Tracking, Environment Probes, 2D Body Tracking, 3D Body Tracking, 3D Body Scale Estimation, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
    438.  
    439. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    440.  
    441. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    442.  
    443. UnityEngine.Logger:Log(LogType, Object)
    444.  
    445. UnityEngine.Debug:Log(Object)
    446.  
    447. UnityEngine.XR.ARSubsystems.XRSessionSubsystem:DetermineConfiguration(Feature)
    448.  
    449. UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams)
    450.  
    451. UnityEngine.XR.ARFoundation.ARSession:Update()
    452.  
    453.  
    454. Using session configuration 0x1fb8e5118
    455.  
    456.     Requested Features: User Facing Camera, Rotation and Orientation, Auto-Focus
    457.  
    458.     Supported Features: Rotation and Orientation, Auto-Focus
    459.  
    460.     Requested features not satisfied: User Facing Camera
    461.  
    462. UnityEngine.DebugLogHandler:Internal_Log(LogType, LogOption, String, Object)
    463.  
    464. UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    465.  
    466. UnityEngine.Logger:Log(LogType, Object)
    467.  
    468. UnityEngine.Debug:Log(Object)
    469.  
    470. UnityEngine.XR.ARSubsystems.XRSessionSubsystem:DebugPrintConfigurationChange(Configuration, Feature)
    471.  
    472. UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams)
    473.  
    474. UnityEngine.XR.ARFoundation.ARSession:Update()
    475.  
    476.  
    477. 2022-04-05 11:38:31.454304-0500 mirror[2254:341142] UnityARKit: Updating ARSession configuration with <ARWorldTrackingConfiguration: 0x282ae9e00 worldAlignment=Gravity lightEstimation=Disabled frameSemantics=None videoFormat=<ARVideoFormat: 0x283c61d60 imageResolution=(1920, 1440) framesPerSecond=(60) captureDeviceType=AVCaptureDeviceTypeBuiltInWideAngleCamera captureDevicePosition=(1)> autoFocus=Enabled environmentTexturing=None wantsHDREnvironmentTextures=Enabled planeDetection=None collaboration=Disabled userFaceTracking=Disabled sceneReconstruction=None appClipCodeTracking=Disabled>
    478.  
    479. -> applicationWillResignActive()
    480.  
    481. WARNING -> applicationDidReceiveMemoryWarning()
    482.  
    483. -> applicationDidBecomeActive()
    484.  
    485. Found 3 interfaces on host iPhone: 0) 10.93.2.11 1) 162.165.5.241 2) 192.168.100.13
    486.  
    487. Multi-casting "[IP] 10.93.2.11 [Port] 55000 [Flags] 2 [Guid] 171254066 [EditorId] 485543332 [Version] 1048832 [Id] iPhonePlayer(8,iPhone):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] mirror" to [225.0.0.222:54997]...
    488.  
    489. -> applicationWillResignActive()
    490.  
    491. -> applicationDidBecomeActive()
    492.  
    493. Found 3 interfaces on host iPhone: 0) 10.93.2.11 1) 162.165.5.241 2) 192.168.100.13
    494.  
    495. Multi-casting "[IP] 10.93.2.11 [Port] 55000 [Flags] 2 [Guid] 171254066 [EditorId] 485543332 [Version] 1048832 [Id] iPhonePlayer(8,iPhone):56000 [Debug] 0 [PackageName] iPhonePlayer [ProjectName] mirror" to [225.0.0.222:54997]...
     
  3. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    Bug confirmed, but I think its AR Foundation / ARKit unity packages. I downgraded to AR Foundation package version 4.0.2 and ARKit package version 4.0.1. and everything works now: I face tracking, and I am also able to access the front facing camera. BOTH face tracking and front facing camera is NOT operational in the newest recommended package versions.
    @todds_unity
     
  4. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    Did you turn on face tracking in the ARKit settings in Project settings? I always forget that, and if you don't you will only get the rear camera.
     
    GeorgeAlexandru likes this.
  5. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    @CiaranWills I can't find that setting, see screenshot. Am I looking at the wrong place?

    But it shouldn't matter anyway, when I am using the newest recommended package versions Face Tracking and Front Facing camera do not work. When I downgrade to AR Foundation package version 4.0.2 and ARKit package version 4.0.1 everything works without changing any settings.
     

    Attached Files:

  6. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    You need to install the ARKit Face Tracking package in the Package Manager.
     
  7. erikwp

    erikwp

    Joined:
    Jan 16, 2018
    Posts:
    25
    @CiaranWills Yes ARKit Face Tracking package is installed. The newest recommended version does not work but downgrading to ARKit Face Tracking package version 4.0.1 does work.
     
  8. CiaranWills

    CiaranWills

    Unity Technologies

    Joined:
    Apr 24, 2020
    Posts:
    198
    Ok that's weird; with 4.2.2 you should see it like this:
    upload_2022-4-7_13-49-32.png

    Which version of XR Plug-in Management do you have (I have 4.2.1 here, in Unity 2021.2.19f1)?