Search Unity

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

Discussion in 'AR' started by wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U, Oct 27, 2020.

  1. wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    Joined:
    Oct 27, 2020
    Posts:
    3
    I'm a beginner and used ARFoundation 4.1.0, ARKit XR Plugin 4.1.0 to show ARHumenBodayManager effect. But the iOS camera not show sample style and the xcode print Failed to initialize subsystem ARKit-Meshing [error: 1]
     
  2. Picios

    Picios

    Joined:
    Aug 1, 2013
    Posts:
    3
    Did you fixed it?
     
  3. wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    Joined:
    Oct 27, 2020
    Posts:
    3
    No. I followed the steps of the official example. Fixed in Xcode or Unity?
     
  4. Picios

    Picios

    Joined:
    Aug 1, 2013
    Posts:
    3
    Not yet, I'm using Unity 2020.1.13f1, and the lastest AR Foundation, sometimes the app works on ios, but most of the time it doesn't work. A gray screen and the error "Failed to initialize subsystem ARKit-Meshing [error: 1]", on android it always works.
     
  5. Picios

    Picios

    Joined:
    Aug 1, 2013
    Posts:
    3
  6. wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    wechat_os_Qy0yI3rLd5hfN0JuwTAQzhM7U

    Joined:
    Oct 27, 2020
    Posts:
    3
  7. Futahei

    Futahei

    Joined:
    Sep 14, 2017
    Posts:
    4
    I have same problem.
    But couldn't resolve by #5 post.
     
  8. Futahei

    Futahei

    Joined:
    Sep 14, 2017
    Posts:
    4
    Any help?
     
  9. Voronoi

    Voronoi

    Joined:
    Jul 2, 2012
    Posts:
    588
    Same problems here and #5 didn't fix. This project was working fine, all I did was add a new UI screen in the launch scene and now this error keeps the project from running on my iPhone.
     
  10. mfuad

    mfuad

    Unity Technologies

    Joined:
    Jun 12, 2018
    Posts:
    335
    If you're still running into issues, please file a bug report with reproducible project so the team can take a look. Thanks!
     
  11. Zultron

    Zultron

    Joined:
    Dec 26, 2012
    Posts:
    59
    Whoever is looking into this as there is barely any info available on this. After hours of trying to find a solution the problem for me was I was on iPhone 7 that didn't have new options of meshing, I switched to iPhone 12 and I had no issue. Seems like the Ar Foundation guys forgot to make it optional for other devices...
     
  12. davidmo_unity

    davidmo_unity

    Unity Technologies

    Joined:
    Jun 18, 2019
    Posts:
    99
    ARKit Meshing will only attempt to be initialized if it is supported on the current device and iOS version. What version of AR Foundation and the Apple AR Kit plugin are you using?
     
  13. Zultron

    Zultron

    Joined:
    Dec 26, 2012
    Posts:
    59
    Hi I am currently using 2020.3.35f1 Unity
    Xcode: 13.4.1
    AR foundation 4.1.10
    ARkit 4.1.10

    Mac is running Monterey Version 12.4
    iPhone 7 15.5 Version

    My app works completely fine on iPhone 12 but fails compilation on iPhone 7. And it always happens after

    "Loading plugin UnityArkKit for subsystem Arkit-Meshing..."
    Failed to initialize subsystem ARkit-Meshing [error: 1]

    So there is certainly an issue that something is bypassing your checks / or not behaving as it should. As far as I know iPhone 7 don't have Meshing capability it is still being triggered and checked on Xcode compilation hence the failing of compiling the app happens
     
    Last edited: Jun 17, 2022
  14. Zultron

    Zultron

    Joined:
    Dec 26, 2012
    Posts:
    59
    If there is a way around this do let me know as it means currently only iPhone 12 can actually use arkit which is not practical...
     
  15. unity_dev421

    unity_dev421

    Joined:
    Feb 22, 2022
    Posts:
    3
    Is there any update on this? I am facing the same issue, although the app opens, the occlusion does not works for me and this same error pops up for me :-
    [Subsystems] Failed to initialize subsystem ARKit-Meshing [error: 1]
     
  16. Zultron

    Zultron

    Joined:
    Dec 26, 2012
    Posts:
    59
    It's pretty bad as none of them reply and seems to be ignoring this. I guess the whole team is using the latest phones and not testing the SDK on older devices... At least Ar Core works without issues...
     
  17. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
  18. makaka-org

    makaka-org

    Joined:
    Dec 1, 2013
    Posts:
    1,023
    I use iPhone XS Max, and I constantly see this message with different projects for some years: Unity repos or not
     
  19. icreation_analytics

    icreation_analytics

    Joined:
    Mar 4, 2022
    Posts:
    1
    I have the same problem.. got all the latest AR packages and latest iOS and using iPhoneXR
     
  20. Zultron

    Zultron

    Joined:
    Dec 26, 2012
    Posts:
    59
    If anyone ever finds a workaround please post it in this section!
     
  21. thexdd

    thexdd

    Joined:
    Mar 20, 2013
    Posts:
    20
    Still nothing?
     
  22. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
  23. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    AR Foundation 4.1 is no longer supported. Please consider upgrading to Unity 2021.3 or newer and AR Foundation 4.2 or newer, the oldest supported LTS versions at time of writing.

    If this bug is still an issue for you in AR Foundation 4.2, please file it: https://unity3d.com/unity/qa/bug-reporting. I cannot emphasize enough that no one has filed a bug for this issue and therefore it has not been addressed.
     
  24. Abby5201

    Abby5201

    Joined:
    Nov 2, 2018
    Posts:
    2
    Hi I am currently using 2022.3.10f1 Unity
    Xcode: 15
    AR foundation 5.0.7
    ARkit 5.0.7
    this bug is still an issuse for me
     
    Dima_96 likes this.
  25. andyb-unity

    andyb-unity

    Unity Technologies

    Joined:
    Feb 10, 2022
    Posts:
    1,062
    Note our FAQ: