Hello,
We are upgrading our project to Unity 6 & PolySpatial 2.0.4, I got it to run on device with the latest package but after a short while the game crashes in any of our levels. It happens a few minutes into playing the level, without a clear connection to the current player input/gameplay. I tried several levels which have different content and they crash with the same stack trace in xCode (see below).
Or project is an unbounded app rendering to RealityKit using PolySpatial.
I tried to see if there is something in the log before it crashes, those entries seem unrelated and vary between levels, while the crash remains the same. One example of logs before are these:
[Diagnostics] Warning: Non shader graph shader 'Legacy Shaders/Particles/Alpha Blended Premultiply' not supported or MaterialX encoding missing
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 90834:0:0 will not be applied.
Failed to add dependencies of asset 'assetId:17935603336215752388.compiledcollisionshape' to the load request due to error: Failed to find AssetLoadDescriptors registered for assetId 17935603336215752388.
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
/Library/Caches/com.apple.xbs/Sources/REKit/ThirdParty/PhysX/physx/source/physx/src/NpShape.cpp (545) : invalid parameter : PxShape::setFlag(s): triangle mesh and heightfield triggers are not supported!
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
/Library/Caches/com.apple.xbs/Sources/REKit/ThirdParty/PhysX/physx/source/physx/src/NpShape.cpp (545) : invalid parameter : PxShape::setFlag(s): triangle mesh and heightfield triggers are not supported!
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
/Library/Caches/com.apple.xbs/Sources/REKit/ThirdParty/PhysX/physx/source/physx/src/NpShape.cpp (545) : invalid parameter : PxShape::setFlag(s): triangle mesh and heightfield triggers are not supported!
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
[Platform] 99166:0:0 is either already a member of a different sort group or has been referenced twice in the same sorting group - membership to the custom sort group defined on 99166:0:0 will not be applied.
[Platform] No material found for -42878 and for material id 2c9bfb81-4a70-47bb-8f0e-ee6e382c8fcb:0.
[Platform] No material found for -42878 and for material id 2c9bfb81-4a70-47bb-8f0e-ee6e382c8fcb:0.
[Platform] No material found for -42878 and for material id 2c9bfb81-4a70-47bb-8f0e-ee6e382c8fcb:0.
Here is the full error and stack trace which is always the same independent of which game level I play in:
Thread 1: Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value
Thread 1 Queue : com.apple.main-thread (serial)
#0 0x00000001023f6080 in implicit closure #32 in implicit closure #31 in PolySpatialRealityKit.OnSendClientCommand(_:_:_:_:) [inlined] ()
#1 0x00000001023f6080 in implicit closure #32 in implicit closure #31 in PolySpatialRealityKit.OnSendClientCommand(_:_:_:_:) [inlined] at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialRealityKit/PolySpatialRealityKit.swift:1010
#2 0x00000001023f6080 in implicit closure #32 in implicit closure #31 in PolySpatialRealityKit.OnSendClientCommand(_:_:_:_:) at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialRealityKit/PolySpatialRealityKit.swift:1781
#3 0x00000001023f9fec in merged function signature specialization <Arg[0] = Dead, Arg[4] = Dead> of generic specialization <PolySpatialRealityKit.Unity_PolySpatial_Internals_PolySpatialRenderData> of PolySpatialRealityKit.PolySpatialRealityKit.HandleChangeListSerializedArg<τ_0_0 where τ_0_0: FlatBuffers.FlatBufferObject>(_: Swift.Int32, _: Swift.Optional<Swift.UnsafeMutablePointer<Swift.Optional<Swift.UnsafeMutableRawPointer>>>, _: Swift.Optional<Swift.UnsafeMutablePointer<Swift.UInt32>>, entryCallback: (PolySpatialRealityKit.Unity_PolySpatial_Internals_PolySpatialInstanceID, Swift.Optional<Swift.UnsafeMutablePointer<τ_0_0>>) -> ()) -> () ()
#4 0x00000001023fd4ec in specialized PolySpatialRealityKit.OnSendClientCommand(_:_:_:_:) ()
#5 0x000000010242f980 in specialized PolySpatialRealityKit.OnSendClientCommandOverrides(_:_:_:_:) [inlined] ()
#6 0x000000010242f96c in specialized PolySpatialRealityKit.OnSendClientCommandOverrides(_:_:_:_:) at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialExtra/PolySpatialRealityKitOverrides.swift:71
#7 0x000000010242c81c in @objc closure #1 in static PolySpatialRealityKit.overrideApi(_:_:) [inlined] ()
#8 0x000000010242c808 in @objc closure #1 in static PolySpatialRealityKit.overrideApi(_:_:) [inlined] at /Users/bokken/build/output/unity/quantum/Packages/com.unity.polyspatial.visionos/Source~/PolySpatialRealityKit/PolySpatialExtra/PolySpatialRealityKitOverrides.swift:18
#9 0x000000010242c808 in @objc closure #1 in static PolySpatialRealityKit.overrideApi(_:_:) at /<compiler-generated>:18
#10 0x000000012d2d4854 in ::DelegatePInvokeWrapper_SendClientCommandCallback_t5D0BBD9E6240CD41CEA460757F2C2F04050378ED(SendClientCommandCallback_t5D0BBD9E6240CD41CEA460757F2C2F04050378ED *, uint32_t, int32_t, void **, int32_t *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__5.cpp:13494
#11 0x000000012d3e6e24 in SendClientCommandCallback_Invoke_m070CD1B34785553533C4634FEB2190104A16092B_inline at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.RealityKit.cpp:1356
#12 0x000000012d3e6f10 in ::RealityKitBackend_HandleCommand_m07BAB65A44D47B9784D403ADFA74C7BF17667F14(RealityKitBackend_tF43CE85FF67B38B8A4B3E263BC448D6341C2580C *, uint32_t, int32_t, void **, int32_t *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.RealityKit.cpp:852
#13 0x000000012d3f3488 in InterfaceActionInvoker4<unsigned int, int, void**, int*>::Invoke at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.XR.cpp:91
#14 0x0000000126603898 in ::PolySpatialNativeExtensions_Command_TisByte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_m50DA218734689E840B3035964133BE30918D44F7_gshared(RuntimeObject *, uint32_t, ReadOnlySpan_1_tA850A6C0E88ABBA37646A078ACBC24D6D5FD9B4D, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__55.cpp:16397
#15 0x0000000126989100 in PolySpatialNativeExtensions_Command_TisByte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_m50DA218734689E840B3035964133BE30918D44F7 at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__68.cpp:10831
#16 0x000000012698a514 in ::ViewEntity_IssueCommandToNextHandlerWithTable_TisRuntimeObject_m55E151487191BF795EA487D1187290205EA53853_gshared(ViewEntity_tEC14D0FC123AE1716850B2E43BE18834752A3E47 *, uint32_t, NativeArray_1_t81F55263465517B73C455D3400CF67B4BADD85CF, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__68.cpp:13695
#17 0x000000012d2a5798 in ViewEntity_IssueCommandToNextHandlerWithTable_TisPolySpatialSkinnedBlendShapeData_t58870767591AC3BA36962A4211E5C8A9D895D260_mA6E72070A074520D5E56E8E61AA60C670B79B94E at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:14669
#18 0x000000012d2a2bc0 in ::ViewEntity_CreateOrUpdateComponent_m944947631AFF4D6813E1EA30CFE0EB175F528F03(ViewEntity_tEC14D0FC123AE1716850B2E43BE18834752A3E47 *, int32_t, ComponentData_t7B5E5DC11E59E690D8AED08D6888E5830EBF8277, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:25537
#19 0x000000012d2a3a98 in ::ViewEntity_UpdateVisibility_m5B16FCE20C3CCCA5BA502212F6701B2B4989BEAE(ViewEntity_tEC14D0FC123AE1716850B2E43BE18834752A3E47 *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:25941
#20 0x000000012d2a37fc in ::SessionEntity_SetState_m1F43F0265B60A61F60D9BEABB5FCFEE686304234(SessionEntity_t03E26BDC166D41F39D9EA8B231A676820903D202 *, PolySpatialGameObjectData_t1E0571BC29B0B8C03410CCAF70ADB5703889C94D, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:24287
#21 0x000000012d2956cc in ::SessionSceneGraph_SetEntityState_m74267B541ED19B839166E5283CA855800D089737(SessionSceneGraph_tE5D98A559DE092DCFB5E62A08CF9EEE90E769774 *, PolySpatialInstanceID_tE689FD31520F908CDD6324F4196EEC2930510320, PolySpatialGameObjectData_t1E0571BC29B0B8C03410CCAF70ADB5703889C94D, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:24713
#22 0x000000012d28ece0 in ::SessionSceneGraphHandler_HandleCommand_mD14DECB48BCB0D1670F16860B595CC8BCD7DAFF1(SessionSceneGraphHandler_tDA9BD6D8AF1755E2A5002182A22666C7906C4363 *, uint32_t, int32_t, void **, int32_t *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__4.cpp:19909
#23 0x000000012d3f3488 in InterfaceActionInvoker4<unsigned int, int, void**, int*>::Invoke at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.XR.cpp:91
#24 0x0000000126603898 in ::PolySpatialNativeExtensions_Command_TisByte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_m50DA218734689E840B3035964133BE30918D44F7_gshared(RuntimeObject *, uint32_t, ReadOnlySpan_1_tA850A6C0E88ABBA37646A078ACBC24D6D5FD9B4D, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__55.cpp:16397
#25 0x0000000126989100 in PolySpatialNativeExtensions_Command_TisByte_t94D9231AC217BE4D2E004C4CD32DF6D099EA41A3_m50DA218734689E840B3035964133BE30918D44F7 at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__68.cpp:10831
#26 0x0000000126613014 in ::PolySpatialNativeExtensions_SerializedChangeListCommand_TisPolySpatialGameObjectData_t1E0571BC29B0B8C03410CCAF70ADB5703889C94D_m6CF0F3585F8FCFD71652B86294425EEC6CC22A21_gshared(RuntimeObject *, uint32_t, RuntimeObject *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/GenericMethods__55.cpp:20233
#27 0x000000012d3a1824 in PolySpatialNativeExtensions_SerializedChangeListCommand_TisPolySpatialGameObjectData_t1E0571BC29B0B8C03410CCAF70ADB5703889C94D_m6CF0F3585F8FCFD71652B86294425EEC6CC22A21 at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:15018
#28 0x000000012d3847a4 in ::PolySpatialUnitySimulation_OnGameObjectsModified_m3C171D7C0F9B5092CD4F1F6B57818B020AAC165D(PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C *, RuntimeObject *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:27135
#29 0x000000012d3846b0 in ::GameObjectTracker_ProcessChanged_m9353C424DC17DC910A1D28320F6FADE224C6D971(GameObjectTracker_tF24DE81E52B0B05C54743FE91BBAF34F5DF9B910 *, PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C *, ChangeList_1_t2474026E066E7D3B9FDE12F335575892C2DD09ED *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:17902
#30 0x00000001292a69b0 in VirtualActionInvoker2<PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C*, ChangeList_1_t2474026E066E7D3B9FDE12F335575892C2DD09ED*>::Invoke at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Generics__242.cpp:56
#31 0x00000001292a6958 in ::UnityObjectTrackerWithStructDataBase_4_ProcessChangedInternal_mB37339C30E09955159244CB575363E8796DD705C_gshared(UnityObjectTrackerWithStructDataBase_4_tBDFA2984F411C3291D6E139BD5E6E5DF289A1D8C *, PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C *, RuntimeObject *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Generics__242.cpp:28999
#32 0x00000001292ad698 in VirtualActionInvoker2<PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C*, Il2CppObject*>::Invoke at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Generics__242.cpp:56
#33 0x00000001292ea75c in ::UnityObjectTracker_4_ProcessAllNewAndModifiedObjects_m50C78062B8D94EB9AFF268D51BD78AF59EE9D1CB_gshared(UnityObjectTracker_4_t8A00461912D79EA20A4C2BFBD4908DDF681ECC93 *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Generics__243.cpp:23401
#34 0x000000012d384354 in UnityObjectTracker_4_ProcessAllNewAndModifiedObjects_m737607F4E527A135A01A4D6FF94835DD4722F9FD at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:13700
#35 0x000000012d384180 in ::GameObjectTracker_ProcessNewAndModifiedObjects_m86A3720F60ABDC076235E0E58087DB06CC88D502(GameObjectTracker_tF24DE81E52B0B05C54743FE91BBAF34F5DF9B910 *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:17807
#36 0x000000012a7b5958 in VirtualActionInvoker0::Invoke at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Generics__4.cpp:14
#37 0x000000012d39f0bc in ::PolySpatialUnityTracker_Process_m78434E152D88663BA40B7E5832E6260C55323594(PolySpatialUnityTracker_tAD398DB62E82A9CE32FA97CCA22D4DDEE6F23270 *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:31544
#38 0x000000012d39b6a4 in ::PolySpatialUnitySimulation_UpdateInternal_mA9C08F55473429BA3C679E2746EF5A067A65BDFB(PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:25371
#39 0x000000012d39ae98 in ::PolySpatialUnitySimulation_Update_mC94D0019BCCDD10DFEB6BAD48C34154904678772(PolySpatialUnitySimulation_t534909DD7A251F36F5473F74CD49AEC27D12B25C *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__8.cpp:25182
#40 0x000000012d356fbc in ::PolySpatialCore_PolySpatialAfterLateUpdate_m7EC5B99661C30542E56C69109A612167F09B768C(PolySpatialCore_t78C69A271E1410AE3F9872DD271083D192D0203D *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Unity.PolySpatial.Core__7.cpp:20921
#41 0x000000012df4fbb0 in ::UpdateFunction_Invoke_m9BCEE4E5BEE924EB804DA64314B78D0E831C179B(UpdateFunction_t1C48B7EECBE47AC123A9D9D7D9D2A9EE951C56C4 *, const RuntimeMethod *) at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/UnityEngine.CoreModule__4.cpp:24193
#42 0x000000012b847480 in RuntimeInvoker_TrueVoid_t4861ACF8F4594C3437BB48B6E56783494B843915 at /Users/mikael/Projects/Builds/DailyDevice04/Il2CppOutputProject/Source/il2cppOutput/Il2CppInvokerTable.cpp:234267
#43 0x000000012415dfa4 in il2cpp::vm::Runtime::InvokeWithThrow at /Users/mikael/Projects/Builds/DailyDevice02/Il2CppOutputProject/IL2CPP/libil2cpp/vm/Runtime.cpp:624
#44 0x000000012415dec8 in il2cpp::vm::Runtime::Invoke at /Users/mikael/Projects/Builds/DailyDevice02/Il2CppOutputProject/IL2CPP/libil2cpp/vm/Runtime.cpp:610
#45 0x0000000123fdc6b0 in ::il2cpp_runtime_invoke(const MethodInfo *, void *, void **, Il2CppException **) at /Users/mikael/Projects/Builds/DailyDevice02/Il2CppOutputProject/IL2CPP/libil2cpp/il2cpp-api.cpp:1123
#46 0x0000000124499f88 in ::scripting_method_invoke() at /Users/bokken/build/output/unity/unity/Runtime/ScriptingBackend/Il2Cpp/ScriptingApi_Il2Cpp.cpp:297
#47 0x00000001244ad560 in ::Invoke() at /Users/bokken/build/output/unity/unity/Runtime/Scripting/ScriptingInvocation.cpp:315
#48 0x00000001243788f4 in ::ExecutePlayerLoop() [inlined] at /Users/bokken/build/output/unity/unity/Runtime/Scripting/ScriptingInvocation.h:77
#49 0x00000001243788e0 in ::ExecutePlayerLoop() at /Users/bokken/build/output/unity/unity/Runtime/Misc/PlayerLoop.cpp:421
#50 0x0000000124378ba8 in ::PlayerLoop() at /Users/bokken/build/output/unity/unity/Runtime/Misc/PlayerLoop.cpp:537
#51 0x0000000124c81cf0 in UnityPlayerLoopImpl at /Users/bokken/build/output/unity/unity/PlatformDependent/iPhonePlayer/LibEntryPoint.mm:341
#52 0x0000000123fc3500 in UnityRepaint at /Users/mikael/Projects/Builds/DailyDevice04/Classes/UnityAppController+Rendering.mm:280
#53 0x0000000123fc349c in -[UnityAppController(Rendering) repaint] at /Users/mikael/Projects/Builds/DailyDevice04/Classes/UnityAppController+Rendering.mm:108
#54 0x0000000123fc30b0 in -[UnityAppController(Rendering) repaintDisplayLink] at /Users/mikael/Projects/Builds/DailyDevice04/Classes/UnityAppController+Rendering.mm:44
#55 0x00000001aef22274 in CA::Display::DisplayLinkItem::dispatch_ ()
#56 0x00000001aef18904 in CA::Display::DisplayLink::dispatch_items ()
#57 0x00000001aef254ec in CA::Display::DisplayLink::dispatch_deferred_display_links ()
#58 0x0000000250b08a14 in _UIUpdateSequenceRun ()
#59 0x0000000251541414 in schedulerStepScheduledMainSection ()
#60 0x0000000251540810 in runloopSourceCallback ()
#61 0x00000001a00f1f40 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#62 0x00000001a00f1e84 in __CFRunLoopDoSource0 ()
#63 0x00000001a00f15a4 in __CFRunLoopDoSources0 ()
#64 0x00000001a00eb720 in __CFRunLoopRun ()
#65 0x00000001a00eaf4c in CFRunLoopRunSpecific ()
#66 0x00000001e43c0518 in GSEventRunModal ()
#67 0x000000025161f30c in -[UIApplication _run] ()
#68 0x0000000251623e68 in UIApplicationMain ()
#69 0x00000001b1be6f54 in closure #1 (Swift.UnsafeMutablePointer<Swift.Optional<Swift.UnsafeMutablePointer<Swift.Int8>>>) -> Swift.Never in SwiftUI.KitRendererCommon(Swift.AnyObject.Type) -> Swift.Never ()
#70 0x00000001b1be6c58 in SwiftUI.runApp<τ_0_0 where τ_0_0: SwiftUI.App>(τ_0_0) -> Swift.Never ()
#71 0x00000001b1813230 in static SwiftUI.App.main() -> () ()
#72 0x000000010236b9b4 in main [inlined] ()
#73 0x000000010236b980 in main ()
#74 0x00000002641499fc in start ()
Any pointers on what could be going wrong to cause the crash?
Thanks in advance!