Created an empty project.
Unity 2019.3.11
Astar 4.3.22
iOS development build
Run Example Demo for RVO 2D
The game did not crash like my project but it’s showing the same error in xcode (which crashed my game) as below:
Setting up 1 worker threads for Enlighten.
Thread -> id: 16f043000 -> priority: 1
ArgumentException: Object contains non-primitive or non-blittable data.
at System.Runtime.InteropServices.GCHandle.GetTargetHandle (System.Object obj, System.Int32 handle, System.Runtime.InteropServices.GCHandleType type) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.InteropServices.FieldOffsetAttribute…ctor (System.Int32 offset) [0x00000] in <00000000000000000000000000000000>:0
at System.Runtime.InteropServices.GCHandle.Alloc (System.Object value, System.Runtime.InteropServices.GCHandleType type) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Collections.NativeArray1[T].Copy (T[] src, System.Int32 srcIndex, Unity.Collections.NativeArray
1[T] dst, System.Int32 dstIndex, System.Int32 length) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Collections.NativeArray1[T].Copy (T[] src, Unity.Collections.NativeArray
1[T] dst) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Collections.NativeArray1[T].Copy (Unity.Collections.NativeArray
1[T] src, System.Int32 srcIndex, T[] dst, System.Int32 dstIndex, System.Int32 length) [0x00000] in <00000000000000000000000000000000>:0
at Drawing.Text.DefaultFonts.LoadDefaultFont () [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingData.LoadFontDataIfNecessary () [0x00000] in <00000000000000000000000000000000>:0
at Pathfinding.Voxels.Voxelize.union_find_union (System.Int32[] arr, System.Int32 a, System.Int32 b) [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingData.GetBuiltInBuilder (System.Boolean renderInGame) [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingManager.OnEnable () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.GameObject.Internal_AddComponentWithType (System.Type componentType) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.GameObject.AddComponent (System.Type componentType) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.GameObject.AddComponent[T] () [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingManager.Init () [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingManager.get_instance () [0x00000] in <00000000000000000000000000000000>:0
at Drawing.DrawingManager.GetBuilder (System.Boolean renderInGame) [0x00000] in <00000000000000000000000000000000>:0
at Pathfinding.RVO.SimulatorBurst.UpdateInternal[T] () [0x00000] in <00000000000000000000000000000000>:0
at Pathfinding.RVO.SimulatorBurst.Update () [0x00000] in <00000000000000000000000000000000>:0
at Pathfinding.RVO.RVOSimulator.Update () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
UnityEngine.GameObject:AddComponent()
Drawing.DrawingManager:Init()
Drawing.DrawingManager:get_instance()
Drawing.DrawingManager:GetBuilder(Boolean)
Pathfinding.RVO.SimulatorBurst:UpdateInternal()
Pathfinding.RVO.SimulatorBurst:Update()
Pathfinding.RVO.RVOSimulator:Update()
(Filename: currently not available on il2cpp Line: -1)