juicycleff / flutter-unity-view-widget

Embeddable unity game engine view for Flutter. Advance demo here https://github.com/juicycleff/flutter-unity-arkit-demo
BSD 3-Clause "New" or "Revised" License
2.12k stars 513 forks source link

How to solve this problem - EXC_BAD_ACCESS? #726

Open asikpro13 opened 1 year ago

asikpro13 commented 1 year ago
Launching lib/main.dart on iPhone (Vadim) in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: JWLC4DLW2U
Running Xcode build...
Xcode build done.                                           15,1s
Installing and launching...
(lldb) 2022-12-10 18:43:44.236911+0500 Runner[6358:1095536] database path: /var/containers/Bundle/Application/E12D3C4E-52D3-4575-890C-6266909C7C1D/Runner.app/Frameworks/flutter_downloader.framework/FlutterDownloaderDatabase.bundle/download_tasks.sql
AllFilesDownloadedMessage: All files have been downloaded
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
[VERBOSE-2:FlutterObservatoryPublisher.mm(101)] Failed to register observatory port with mDNS with error -65555.
[VERBOSE-2:FlutterObservatoryPublisher.mm(103)] On iOS 14+, local network broadcast in apps need to be declared in the app's Info.plist. Debug and profile Flutter apps and modules host VM services on the local network to support debugging features such as hot reload and DevTools. To make your Flutter app or module attachable and debuggable, add a '_dartobservatory._tcp' value to the 'NSBonjourServices' key in your Info.plist for the Debug/Profile configurations. For more information, see https://flutter.dev/docs/development/add-to-app/ios/project-setup#local-network-privacy-permissions
Debug service listening on ws://127.0.0.1:55686/CdcQBzbttD4=/ws
Syncing files to device iPhone (Vadim)...
flutter: {cart_info, navbarCount, postsInfo, stateAuth}
Built from '2021.2/release' branch, Version '2021.2.15f1 (3b8567f665bb)', Build type 'Development', Scripting Backend 'il2cpp'
MemoryManager: Using 'Default' Allocator.
[UnityMemory] Configuration Parameters - Can be set up in boot.config
    "memorysetup-bucket-allocator-granularity=16"
    "memorysetup-bucket-allocator-bucket-count=8"
    "memorysetup-bucket-allocator-block-size=4194304"
    "memorysetup-bucket-allocator-block-count=1"
    "memorysetup-main-allocator-block-size=16777216"
    "memorysetup-thread-allocator-block-size=16777216"
    "memorysetup-gfx-main-allocator-block-size=16777216"
    "memorysetup-gfx-thread-allocator-block-size=16777216"
    "memorysetup-cache-allocator-block-size=4194304"
    "memorysetup-typetree-allocator-block-size=2097152"
    "memorysetup-profiler-bucket-allocator-granularity=16"
    "memorysetup-profiler-bucket-allocator-bucket-count=8"
    "memorysetup-profiler-bucket-allocator-block-size=4194304"
    "memorysetup-profiler-bucket-allocator-block-count=1"
    "memorysetup-profiler-allocator-block-size=16777216"
    "memorysetup-profiler-editor-allocator-block-size=1048576"
    "memorysetup-temp-allocator-size-main=4194304"
    "memorysetup-job-temp-allocator-block-size=2097152"
    "memorysetup-job-temp-allocator-block-size-background=1048576"
    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    "memorysetup-temp-allocator-size-background-worker=32768"
    "memorysetup-temp-allocator-size-job-worker=262144"
    "memorysetup-temp-allocator-size-preload-manager=262144"
    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    "memorysetup-temp-allocator-size-audio-worker=65536"
    "memorysetup-temp-allocator-size-cloud-worker=32768"
    "memorysetup-temp-allocator-size-gfx=262144"
-> applicationDidFinishLaunching()
Found 2 interfaces on host : 0) 169.254.48.88 1) 192.168.0.10
Broadcasting "[IP] 169.254.48.88 [Port] 55000 [Flags] 2 [Guid] 3033640935 [EditorId] 2121516476 [Version] 1048832 [Id] iPhonePlayer(8,iPhone-Vadim):56000 [Debug] 1 [PackageName] iPhonePlayer [ProjectName] arnitura_AR" to [169.254.255.255:54997]...
Starting managed debugger on port 56000
flutter: {}
flutter: post init
Loading player data from /private/var/containers/Bundle/Application/E12D3C4E-52D3-4575-890C-6266909C7C1D/Runner.app/Frameworks/UnityFramework.framework/Data/data.unity3d

Setting UIViewControllerBasedStatusBarAppearance to NO is no longer supported.
Apple actively discourages that, and all application-wide methods of changing status bar appearance are deprecated

-> applicationWillEnterForeground()
-> applicationDidBecomeActive()
[Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/E12D3C4E-52D3-4575-890C-6266909C7C1D/Runner.app/Frameworks/UnityFramework.framework/Data/UnitySubsystems
[Subsystems] No descriptors matched for  examples in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[Subsystems] 1 'inputs' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json
[Subsystems] No descriptors matched for  displays in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json.
[Subsystems] 1 'meshings' descriptors matched in UnitySubsystems/UnityARKit/UnitySubsystemsManifest.json
GfxDevice: creating device client; threaded=1; jobified=1
Initializing Metal device caps: Apple A11 GPU
Initialize engine version: 2021.2.15f1 (3b8567f665bb)
The referenced script (Unknown) on this Behaviour is missing!
The referenced script on this Behaviour (Game Object '<null>') is missing!
XRGeneral Settings awakening...
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.Management.XRGeneralSettings:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.management@4.2.0/Runtime/XRGeneralSettings.cs:91)

    // 2D joint skeleton
    enum JointIndices
    {
        Invalid = -1,
        Head = 0, // parent: Neck1 [1]
        Neck1 = 1, // parent: Root [16]
        RightShoulder1 = 2, // parent: Neck1 [1]
        RightForearm = 3, // parent: RightShoulder1 [2]
        RightHand = 4, // parent: RightForearm [3]
        LeftShoulder1 = 5, // parent: Neck1 [1]
        LeftForearm = 6, // parent: LeftShoulder1 [5]
        LeftHand = 7, // parent: LeftForearm [6]
        RightUpLeg = 8, // parent: Root [16]
        RightLeg = 9, // parent: RightUpLeg [8]
        RightFoot = 10, // parent: RightLeg [9]
        LeftUpLeg = 11, // parent: Root [16]
        LeftLeg = 12, // parent: LeftUpLeg [11]
        LeftFoot = 13, // parent: LeftLeg [12]
        RightEye = 14, // parent: Head [0]
        LeftEye = 15, // parent: Head [0]
        Root = 16, // parent: <none> [-1]
        RightEar = 17, // parent: RightEye [14]
        LeftEar = 18, // parent: LeftEye [15]
    }

    // 3D joint skeleton
    enum JointIndices
    {
        Invalid = -1,
        Root = 0, // parent: <none> [-1]
        Hips = 1, // parent: Root [0]
        LeftUpLeg = 2, // parent: Hips [1]
        LeftLeg = 3, // parent: LeftUpLeg [2]
        LeftFoot = 4, // parent: LeftLeg [3]
        LeftToes = 5, // parent: LeftFoot [4]
        LeftToesEnd = 6, // parent: LeftToes [5]
        RightUpLeg = 7, // parent: Hips [1]
        RightLeg = 8, // parent: RightUpLeg [7]
        RightFoot = 9, // parent: RightLeg [8]
        RightToes = 10, // parent: RightFoot [9]
        RightToesEnd = 11, // parent: RightToes [10]
        Spine1 = 12, // parent: Hips [1]
        Spine2 = 13, // parent: Spine1 [12]
        Spine3 = 14, // parent: Spine2 [13]
        Spine4 = 15, // parent: Spine3 [14]
        Spine5 = 16, // parent: Spine4 [15]
        Spine6 = 17, // parent: Spine5 [16]
        Spine7 = 18, // parent: Spine6 [17]
        LeftShoulder1 = 19, // parent: Spine7 [18]
        LeftArm = 20, // parent: LeftShoulder1 [19]
        LeftForearm = 21, // parent: LeftArm [20]
        LeftHand = 22, // parent: LeftForearm [21]
        LeftHandIndexStart = 23, // parent: LeftHand [22]
        LeftHandIndex1 = 24, // parent: LeftHandIndexStart [23]
        LeftHandIndex2 = 25, // parent: LeftHandIndex1 [24]
        LeftHandIndex3 = 26, // parent: LeftHandIndex2 [25]
        LeftHandIndexEnd = 27, // parent: LeftHandIndex3 [26]
        LeftHandMidStart = 28, // parent: LeftHand [22]
        LeftHandMid1 = 29, // parent: LeftHandMidStart [28]
        LeftHandMid2 = 30, // parent: LeftHandMid1 [29]
        LeftHandMid3 = 31, // parent: LeftHandMid2 [30]
        LeftHandMidEnd = 32, // parent: LeftHandMid3 [31]
        LeftHandPinkyStart = 33, // parent: LeftHand [22]
        LeftHandPinky1 = 34, // parent: LeftHandPinkyStart [33]
        LeftHandPinky2 = 35, // parent: LeftHandPinky1 [34]
        LeftHandPinky3 = 36, // parent: LeftHandPinky2 [35]
        LeftHandPinkyEnd = 37, // parent: LeftHandPinky3 [36]
        LeftHandRingStart = 38, // parent: LeftHand [22]
        LeftHandRing1 = 39, // parent: LeftHandRingStart [38]
        LeftHandRing2 = 40, // parent: LeftHandRing1 [39]
        LeftHandRing3 = 41, // parent: LeftHandRing2 [40]
        LeftHandRingEnd = 42, // parent: LeftHandRing3 [41]
        LeftHandThumbStart = 43, // parent: LeftHand [22]
        LeftHandThumb1 = 44, // parent: LeftHandThumbStart [43]
        LeftHandThumb2 = 45, // parent: LeftHandThumb1 [44]
        LeftHandThumbEnd = 46, // parent: LeftHandThumb2 [45]
        Neck1 = 47, // parent: Spine7 [18]
        Neck2 = 48, // parent: Neck1 [47]
        Neck3 = 49, // parent: Neck2 [48]
        Neck4 = 50, // parent: Neck3 [49]
        Head = 51, // parent: Neck4 [50]
        Jaw = 52, // parent: Head [51]
        Chin = 53, // parent: Jaw [52]
        LeftEye = 54, // parent: Head [51]
        LeftEyeLowerLid = 55, // parent: LeftEye [54]
        LeftEyeUpperLid = 56, // parent: LeftEye [54]
        LeftEyeball = 57, // parent: LeftEye [54]
        Nose = 58, // parent: Head [51]
        RightEye = 59, // parent: Head [51]
        RightEyeLowerLid = 60, // parent: RightEye [59]
        RightEyeUpperLid = 61, // parent: RightEye [59]
        RightEyeball = 62, // parent: RightEye [59]
        RightShoulder1 = 63, // parent: Spine7 [18]
        RightArm = 64, // parent: RightShoulder1 [63]
        RightForearm = 65, // parent: RightArm [64]
        RightHand = 66, // parent: RightForearm [65]
        RightHandIndexStart = 67, // parent: RightHand [66]
        RightHandIndex1 = 68, // parent: RightHandIndexStart [67]
        RightHandIndex2 = 69, // parent: RightHandIndex1 [68]
        RightHandIndex3 = 70, // parent: RightHandIndex2 [69]
        RightHandIndexEnd = 71, // parent: RightHandIndex3 [70]
        RightHandMidStart = 72, // parent: RightHand [66]
        RightHandMid1 = 73, // parent: RightHandMidStart [72]
        RightHandMid2 = 74, // parent: RightHandMid1 [73]
        RightHandMid3 = 75, // parent: RightHandMid2 [74]
        RightHandMidEnd = 76, // parent: RightHandMid3 [75]
        RightHandPinkyStart = 77, // parent: RightHand [66]
        RightHandPinky1 = 78, // parent: RightHandPinkyStart [77]
        RightHandPinky2 = 79, // parent: RightHandPinky1 [78]
        RightHandPinky3 = 80, // parent: RightHandPinky2 [79]
        RightHandPinkyEnd = 81, // parent: RightHandPinky3 [80]
        RightHandRingStart = 82, // parent: RightHand [66]
        RightHandRing1 = 83, // parent: RightHandRingStart [82]
        RightHandRing2 = 84, // parent: RightHandRing1 [83]
        RightHandRing3 = 85, // parent: RightHandRing2 [84]
        RightHandRingEnd = 86, // parent: RightHandRing3 [85]
        RightHandThumbStart = 87, // parent: RightHand [66]
        RightHandThumb1 = 88, // parent: RightHandThumbStart [87]
        RightHandThumb2 = 89, // parent: RightHandThumb1 [88]
        RightHandThumbEnd = 90, // parent: RightHandThumb2 [89]
    }
[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]
New input system (experimental) initialized
Unbalanced calls to begin/end appearance transitions for <SplashScreenController: 0x13d49ee10>.
Found 2 interfaces on host iPhone-Vadim: 0) 169.254.48.88 1) 192.168.0.10
Broadcasting "[IP] 169.254.48.88 [Port] 55000 [Flags] 2 [Guid] 3033640935 [EditorId] 2121516476 [Version] 1048832 [Id] iPhonePlayer(8,iPhone-Vadim):56000 [Debug] 1 [PackageName] iPhonePlayer [ProjectName] arnitura_AR" to [169.254.255.255:54997]...
[log] *********************************************
[log] ** flutter unity controller setup complete **
[log] *********************************************
UnloadTime: 4.555250 ms
NullReferenceException: Object reference not set to an instance of an object.
  at UIEventManager.LogInternal (System.String condition, System.String stackTrace, System.Single duration, UnityEngine.Color color) [0x00000] in <00000000000000000000000000000000>:0 
  at UIEventManager.LogCallback (System.String condition, System.String stackTrace, UnityEngine.LogType type) [0x00068] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/UI/UI Queue/Event/UIEventManager.cs:95 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00019] in /Users/bokken/buildslave/unity/build/Runtime/Export/Application/Application.cs:121 
  at UnityEngine.DebugLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0000c] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/DebugLogHandler.cs:9 
  at UnityEngine.Logger.Log (UnityEngine.LogType logType, System.Object message, UnityEngine.Object context) [0x00028] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/Logger.cs:66 
  at UnityEngine.Debug.LogWarning (System.Object message, UnityEngine.Object context) [0x00009] in /Users/bokken/buildslave/unity/build/Runtime/Export/Debug/Debug.bindings.cs:187 
  at TMPro.TMP_Text.GetUnderlineSpecialCharacter (TMPro.TMP_FontAsset fontAsset) [0x0004f] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081 
  at TMPro.TMP_Text.GetSpecialCharacters (TMPro.TMP_FontAsset fontAsset) [0x0000b] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007 
  at TMPro.TextMeshProUGUI.LoadFontAsset () [0x001e0] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574 
  at TMPro.TextMeshProUGUI.Awake () [0x000c3] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121 
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
TMPro.TMP_Text:GetUnderlineSpecialCharacter(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081)
TMPro.TMP_Text:GetSpecialCharacters(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007)
TMPro.TextMeshProUGUI:LoadFontAsset() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574)
TMPro.TextMeshProUGUI:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121)

The character used for Underline is not available in font asset [Roboto-Medium SDF].
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
TMPro.TMP_Text:GetUnderlineSpecialCharacter(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081)
TMPro.TMP_Text:GetSpecialCharacters(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007)
TMPro.TextMeshProUGUI:LoadFontAsset() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574)
TMPro.TextMeshProUGUI:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121)

NullReferenceException: Object reference not set to an instance of an object.
  at UIEventManager.LogInternal (System.String condition, System.String stackTrace, System.Single duration, UnityEngine.Color color) [0x00000] in <00000000000000000000000000000000>:0 
  at UIEventManager.LogCallback (System.String condition, System.String stackTrace, UnityEngine.LogType type) [0x00068] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/UI/UI Queue/Event/UIEventManager.cs:95 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00019] in /Users/bokken/buildslave/unity/build/Runtime/Export/Application/Application.cs:121 
  at UnityEngine.DebugLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0000c] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/DebugLogHandler.cs:9 
  at UnityEngine.Logger.Log (UnityEngine.LogType logType, System.Object message, UnityEngine.Object context) [0x00028] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/Logger.cs:66 
  at UnityEngine.Debug.LogWarning (System.Object message, UnityEngine.Object context) [0x00009] in /Users/bokken/buildslave/unity/build/Runtime/Export/Debug/Debug.bindings.cs:187 
  at TMPro.TMP_Text.GetUnderlineSpecialCharacter (TMPro.TMP_FontAsset fontAsset) [0x0004f] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081 
  at TMPro.TMP_Text.GetSpecialCharacters (TMPro.TMP_FontAsset fontAsset) [0x0000b] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007 
  at TMPro.TextMeshProUGUI.LoadFontAsset () [0x001e0] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574 
  at TMPro.TextMeshProUGUI.Awake () [0x000c3] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121 
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
TMPro.TMP_Text:GetUnderlineSpecialCharacter(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081)
TMPro.TMP_Text:GetSpecialCharacters(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007)
TMPro.TextMeshProUGUI:LoadFontAsset() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574)
TMPro.TextMeshProUGUI:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121)

The character used for Underline is not available in font asset [Roboto-Medium SDF].
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
TMPro.TMP_Text:GetUnderlineSpecialCharacter(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6081)
TMPro.TMP_Text:GetSpecialCharacters(TMP_FontAsset) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_Text.cs:6007)
TMPro.TextMeshProUGUI:LoadFontAsset() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:574)
TMPro.TextMeshProUGUI:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMPro_UGUI_Private.cs:121)

NullReferenceException: Object reference not set to an instance of an object.
  at UIEventManager.LogInternal (System.String condition, System.String stackTrace, System.Single duration, UnityEngine.Color color) [0x00000] in <00000000000000000000000000000000>:0 
  at UIEventManager.LogCallback (System.String condition, System.String stackTrace, UnityEngine.LogType type) [0x00068] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/UI/UI Queue/Event/UIEventManager.cs:95 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00019] in /Users/bokken/buildslave/unity/build/Runtime/Export/Application/Application.cs:121 
  at UnityEngine.DebugLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0000c] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/DebugLogHandler.cs:9 
  at UnityEngine.Logger.Log (UnityEngine.LogType logType, System.Object message, UnityEngine.Object context) [0x00028] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/Logger.cs:66 
  at UnityEngine.Debug.LogWarning (System.Object message, UnityEngine.Object context) [0x00009] in /Users/bokken/buildslave/unity/build/Runtime/Export/Debug/Debug.bindings.cs:187 
  at Unity.XR.CoreUtils.XROrigin.Awake () [0x00018] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503 
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
Unity.XR.CoreUtils.XROrigin:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503)

No Camera Floor Offset Object specified for XR Origin, using attached GameObject.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
Unity.XR.CoreUtils.XROrigin:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503)

NullReferenceException: Object reference not set to an instance of an object.
  at UIEventManager.LogInternal (System.String condition, System.String stackTrace, System.Single duration, UnityEngine.Color color) [0x00000] in <00000000000000000000000000000000>:0 
  at UIEventManager.LogCallback (System.String condition, System.String stackTrace, UnityEngine.LogType type) [0x00068] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/UI/UI Queue/Event/UIEventManager.cs:95 
  at UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) [0x00019] in /Users/bokken/buildslave/unity/build/Runtime/Export/Application/Application.cs:121 
  at UnityEngine.DebugLogHandler.LogFormat (UnityEngine.LogType logType, UnityEngine.Object context, System.String format, System.Object[] args) [0x0000c] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/DebugLogHandler.cs:9 
  at UnityEngine.Logger.Log (UnityEngine.LogType logType, System.Object message, UnityEngine.Object context) [0x00028] in /Users/bokken/buildslave/unity/build/Runtime/Export/Logging/Logger.cs:66 
  at UnityEngine.Debug.LogWarning (System.Object message, UnityEngine.Object context) [0x00009] in /Users/bokken/buildslave/unity/build/Runtime/Export/Debug/Debug.bindings.cs:187 
  at Unity.XR.CoreUtils.XROrigin.Awake () [0x00018] in /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503 
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
Unity.XR.CoreUtils.XROrigin:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503)

No Camera Floor Offset Object specified for XR Origin, using attached GameObject.
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object, Object)
UnityEngine.Debug:LogWarning(Object, Object)
Unity.XR.CoreUtils.XROrigin:Awake() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.core-utils@2.1.0/Runtime/XROrigin.cs:503)

Clear AR call
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
FlutterMessagesReciever:ClearAR() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/FlutterMessagesReciever.cs:63)
FlutterMessagesReciever:Start() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/FlutterMessagesReciever.cs:32)

Start AR call
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
FlutterMessagesReciever:StartAR() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/FlutterMessagesReciever.cs:41)

Configuration Descriptor 0x1ea0ba020 (rank 2): Rotation and Orientation, Plane Tracking, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
Configuration Descriptor 0x1ea0bb1a0 (rank 0): World Facing Camera, Rotation and Orientation, Plane Tracking, Image Tracking, Object Tracking, Environment Probes, Collaboration, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
Configuration Descriptor 0x1ea0bc500 (rank 1): World Facing Camera, Rotation Only, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color)
Configuration Descriptor 0x1ea0b9df0 (rank 1): World Facing Camera, Rotation Only, Image Tracking, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:DetermineConfiguration(Feature) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:107)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:124)
UnityEngine.XR.ARFoundation.ARSession:Update() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARFoundation/ARSession.cs:415)

Using session configuration 0x1ea0bb1a0
    Requested Features: World Facing Camera, Rotation and Orientation, Environment Probes, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Light Estimation (Spherical Harmonics), Light Estimation (Main Light Direction), Light Estimation (Main Light Intensity), Raycast
    Supported Features: World Facing Camera, Rotation and Orientation, Environment Probes, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
    Requested features not satisfied: Light Estimation (Spherical Harmonics), Light Estimation (Main Light Direction), Light Estimation (Main Light Intensity)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:DebugPrintConfigurationChange(Configuration, Feature) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:165)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:128)
UnityEngine.XR.ARFoundation.ARSession:Update() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARFoundation/ARSession.cs:415)

UnityARKit: Updating ARSession configuration with <ARWorldTrackingConfiguration: 0x2835f8100 worldAlignment=Gravity lightEstimation=Enabled frameSemantics=None videoFormat=<ARVideoFormat: 0x282a76170 imageResolution=(1920, 1440) pixelFormat=(420f) framesPerSecond=(60) captureDeviceType=AVCaptureDeviceTypeBuiltInWideAngleCamera captureDevicePosition=(1)> autoFocus=Enabled environmentTexturing=Automatic wantsHDREnvironmentTextures=Enabled planeDetection=None collaboration=Disabled userFaceTracking=Disabled sceneReconstruction=None appClipCodeTracking=Disabled>
Start AR call
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
FlutterMessagesReciever:StartAR() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/FlutterMessagesReciever.cs:41)

flutter: --------------------/var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents
flutter: installed
flutter: Модель загружена
Requesting model from /var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents/files/1/models/1.fbx
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
ARObjectLoader:LoadModel(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:61)
FlutterMessagesReciever:LoadModel(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/FlutterMessagesReciever.cs:100)

flutter: {"percentLoading": 0}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 6}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 56}
flutter: {"percentLoading": 69}
flutter: {"percentLoading": 69}
flutter: {"percentLoading": 88}
flutter: {"percentLoading": 91}
flutter: ar_model_loaded
Model loaded <1>
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
ARObjectLoader:OnModelLoaded(AssetLoaderContext) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:103)
ARObjectLoader:<LoadModel>b__13_0(AssetLoaderContext) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:76)
TriLibCore.AssetLoader:FinishLoading(AssetLoaderContext) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Plugins/TriLib/TriLibCore/Scripts/AssetLoader.cs:1105)
TriLibCore.General.ContextualizedAction`1:Invoke()
TriLibCore.Utils.Dispatcher:Update()

Using session configuration 0x1ea0bb1a0 (unchanged)
    Requested Features: World Facing Camera, Rotation and Orientation, Plane Tracking, Environment Probes, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Light Estimation (Spherical Harmonics), Light Estimation (Main Light Direction), Light Estimation (Main Light Intensity), Raycast
    Supported Features: World Facing Camera, Rotation and Orientation, Plane Tracking, Environment Probes, Auto-Focus, Light Estimation (Ambient Intensity), Light Estimation (Ambient Color), Raycast
    Requested features not satisfied: Light Estimation (Spherical Harmonics), Light Estimation (Main Light Direction), Light Estimation (Main Light Intensity)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:DebugPrintConfigurationChange(Configuration, Feature) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:165)
UnityEngine.XR.ARSubsystems.XRSessionSubsystem:Update(XRSessionUpdateParams) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARSubsystems/SessionSubsystem/XRSessionSubsystem.cs:128)
UnityEngine.XR.ARFoundation.ARSession:Update() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.unity.xr.arfoundation@5.0.2/Runtime/ARFoundation/ARSession.cs:415)

UnityARKit: Updating ARSession configuration with <ARWorldTrackingConfiguration: 0x2834f4e00 worldAlignment=Gravity lightEstimation=Enabled frameSemantics=None videoFormat=<ARVideoFormat: 0x282a76170 imageResolution=(1920, 1440) pixelFormat=(420f) framesPerSecond=(60) captureDeviceType=AVCaptureDeviceTypeBuiltInWideAngleCamera captureDevicePosition=(1)> autoFocus=Enabled environmentTexturing=Automatic wantsHDREnvironmentTextures=Enabled planeDetection=Horizontal collaboration=Disabled userFaceTracking=Disabled sceneReconstruction=None appClipCodeTracking=Disabled>
Cannot remove environment probe with trackable ID [E7411F3B-8599-751C-55FF-5126FC1D4B99] because an anchor with matching identifier was not found
flutter: Модель загружена в память
flutter: {"percentLoading": 100}
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
Unloading 8 unused Assets / (211.6 KB). Loaded Objects now: 3150.
Memory consumption went from 42.0 MB to 41.7 MB.
Total: 11.159500 ms (FindLiveObjects: 0.225042 ms CreateObjectMapping: 0.061167 ms MarkObjects: 10.720167 ms  DeleteObjects: 0.151625 ms)

Requesting textures from System.Collections.Generic.List`1[System.String]
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:120)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

Couldn't parse texture type
Material<leathergreen>
Type<height>
at /var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents/files/1/models/textures/2/LeatherGreen_height.jpg
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Texture2DInfo:.ctor(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:90)
Texture2DInfo:GetTexturesFromPaths(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:209)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:129)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

Couldn't parse texture type
Material<metal>
Type<rough>
at /var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents/files/1/models/textures/2/metal_rough.png
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Texture2DInfo:.ctor(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:90)
Texture2DInfo:GetTexturesFromPaths(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:209)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:129)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: setState() called after dispose(): _StatefulBuilderState#de0f8(lifecycle state: defunct, not mounted)
This error happens if you call setState() on a State object for a widget that no longer appears in the widget tree (e.g., whose parent widget no longer includes the widget in its build). This error can occur when code calls setState() from a timer or an animation callback.
The preferred solution is to cancel the timer or stop listening to the animation in the dispose() callback. Another solution is to check the "mounted" property of this object before calling setState() to ensure the object is still in the tree.
This error might indicate a memory leak if setState() is being called because another object is retaining a reference to this State object after it has been removed from the tree. To avoid memory leaks, consider breaking the reference to this object during dispose().
#0      State.setState.<anonymous closure> (package:flutter/src/widgets/framework.dart:1078:9)
#1      State.setState (package:flutter/src/widgets/framework.dart:1113:6)
#2      PostState.initStateLike (package:arnituramobile/post.dart:72:23)
<asynchronous suspension>
Couldn't parse texture type
Material<leathergreen>
Type<roughness>
at /var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents/files/1/models/textures/2/LeatherGreen_roughness.jpg
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Texture2DInfo:.ctor(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:90)
Texture2DInfo:GetTexturesFromPaths(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:209)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:129)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

Couldn't parse texture type
Material<metal>
Type<metallic>
at /var/mobile/Containers/Data/Application/104893FF-9639-4A1E-84E8-A55681DFC710/Documents/files/1/models/textures/2/metal_metallic.png
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
Texture2DInfo:.ctor(String) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:90)
Texture2DInfo:GetTexturesFromPaths(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/Misc/Texture2DInfo.cs:209)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:129)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

[ServicesDaemonManager] interruptionHandler is called. -[FontServicesDaemonManager connection]_block_invoke
Loaded 11/18 textures:
Loose textures:
MaterialName: <leathergreen> Type: Specular
MaterialName: <leathergreen> Type: Invalid
MaterialName: <metal> Type: Invalid
MaterialName: <leathergreen> Type: Normal
MaterialName: <leathergreen> Type: Albedo
MaterialName: <leathergreen> Type: Invalid
MaterialName: <metal> Type: Invalid
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogError(Object)
ARObject:ApplyTextures(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObject.cs:153)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:130)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

All materials loaded
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
ARObject:ApplyTextures(List`1) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObject.cs:180)
<LoadTextures>d__15:MoveNext() (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Assets/Content/Systems/Main/ARObjectLoader.cs:130)
System.Runtime.CompilerServices.MoveNextRunner:InvokeMoveNext(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
Cysharp.Threading.Tasks.Internal.PooledDelegate`1:Run(Object) (at /Users/vadimmazurek/StudioProjects/arnituramobile/unity/unity_build/Library/PackageCache/com.cysharp.unitask@f48cb4b03e/Runtime/Internal/PooledDelegate.cs:46)
UnityEngine.AsyncOperation:InvokeCompletionEvent() (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/AsyncOperation.cs:21)

* thread #81, queue = 'com.Metal.CompletionQueueDispatch', stop reason = EXC_BAD_ACCESS (code=1, address=0x4d04)
    frame #0: 0x000000018b9a202c libobjc.A.dylib`objc_msgSend + 44
libobjc.A.dylib`objc_msgSend:
->  0x18b9a202c <+44>: ldp    x17, x9, [x13], #-0x10
    0x18b9a2030 <+48>: cmp    x9, x1
    0x18b9a2034 <+52>: b.ne   0x18b9a2040               ; <+64>
    0x18b9a2038 <+56>: eor    x17, x17, x16
Target 0: (Runner) stopped.
Lost connection to device.

[Edited to put logs in a code block and avoid referencing random issues]

viniciusvinny233 commented 1 year ago

try to completely reinstall the flutter