When using the VisionOS platform in the Unity Editor, loading assets through AssetBundle causes Unity to crash. The crash log contains the following information:
========== OUTPUTTING STACK TRACE ==================
0x00007FFCDDE1F3B0 (Unity) CopyChannelDirect
0x00007FFCDDE1D3F7 (Unity) VertexUtility::CopyChannel
0x00007FFCDDE1F79B (Unity) CopyChannels
0x00007FFCDDE1F8E9 (Unity) VertexUtility::CopyChannels
0x00007FFCDDE1CFD2 (Unity) MeshDataBindings::CopyAttributeIntoPtr
0x00007FFCDD4C7EC2 (Unity) Mesh_MeshData_CUSTOM_CopyAttributeIntoPtr
0x000001F07705853A (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Mesh/MeshData:CopyAttributeIntoPtr (intptr,UnityEngine.Rendering.VertexAttribute,UnityEngine.Rendering.VertexAttributeFormat,int,intptr)
0x000001F07705829B (Mono JIT Code) UnityEngine.Mesh/MeshData:CopyAttributeInto<UnityEngine.Vector3> (Unity.Collections.NativeArray`1<UnityEngine.Vector3>,UnityEngine.Rendering.VertexAttribute,UnityEngine.Rendering.VertexAttributeFormat,int)
0x000001F077057FB3 (Mono JIT Code) UnityEngine.Mesh/MeshData:GetVertices (Unity.Collections.NativeArray`1<UnityEngine.Vector3>)
0x000001F077050AA3 (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/Rendering/MeshConversionHelpers.cs:81] Unity.PolySpatial.Internals.MeshConversionHelpers:ConvertMeshAssetToPolySpatialMesh (Unity.PolySpatial.Internals.AssetRepresentation,System.Action`2<Unity.PolySpatial.Internals.AssetRepresentation, Unity.PolySpatial.Internals.PolySpatialMesh>)
0x000001F07704B0FB (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/AssetManagement/LocalAssetManager.cs:1211] Unity.PolySpatial.Internals.LocalAssetManager:ProcessChangedAsset (Unity.PolySpatial.Internals.AssetRepresentation)
0x000001F07704894B (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/AssetManagement/LocalAssetManager.cs:823] Unity.PolySpatial.Internals.LocalAssetManager:ProcessChanges ()
0x000001F076FE1423 (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/Trackers/PolySpatialUnitySimulation.cs:276] Unity.PolySpatial.Internals.PolySpatialUnitySimulation:UpdateInternal ()
0x000001F076FB7DAB (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/Trackers/PolySpatialUnitySimulation.cs:211] Unity.PolySpatial.Internals.PolySpatialUnitySimulation:Update ()
0x000001F076F8F4D3 (Mono JIT Code) [/Users/bokken/build/output/unity/polyspatial/Packages/com.unity.polyspatial/Runtime/PolySpatialCore.cs:710] Unity.PolySpatial.Internals.PolySpatialCore:PolySpatialAfterLateUpdate ()
0x000001F18D005648 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFCD49869CE (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007FFCD48C8474 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3068] do_runtime_invoke
0x00007FFCD48C8560 (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\metadata\object.c:3115] mono_runtime_invoke
0x00007FFCDE2AB404 (Unity) scripting_method_invoke
0x00007FFCDE283193 (Unity) ScriptingInvocation::Invoke
0x00007FFCDDEF81C6 (Unity) ExecutePlayerLoop
0x00007FFCDDEFD31F (Unity) PlayerLoop
0x00007FFCDEFFF34A (Unity) EditorPlayerLoop::Execute
0x00007FFCDF015D47 (Unity) PlayerLoopController::InternalUpdateScene
0x00007FFCDF017AFD (Unity) PlayerLoopController::UpdateSceneIfNeededFromMainLoop
0x00007FFCDF0118B1 (Unity) Application::TickTimer
0x00007FFCDF6063FA (Unity) MainMessageLoop
0x00007FFCDF60C0C4 (Unity) UnityMain
0x00007FF6B76F2FBA (Unity) __scrt_common_main_seh
0x00007FFD4B057374 (KERNEL32) BaseThreadInitThunk
0x00007FFD4B1FCC91 (ntdll) RtlUserThreadStart
========== END OF STACKTRACE ===========
A crash has been intercepted by the crash handler. For call stack and other details, see the latest crash report generated in:
* C:/Users/hp/AppData/Local/Temp/Unity/Editor/Crashes