MatthewHallberg / MapboxGPSHeading

Other
99 stars 42 forks source link

Build crashing on Android & iOS #1

Open itsharshdeep opened 6 years ago

itsharshdeep commented 6 years ago

I have followed the all steps as per the video but the build is crashing in the Android & iOS both.

fragalles commented 6 years ago

on unity 2017.3.1f1 personal and samsung s8 (latest oreo android) the same only crashes but not a running application when trying to run.

i would be very kind to have it re-saved on latest unity platform or maybe a side note if its not running on ARCORE that the current version only works on ARKIT (ios)...

-----CompilerOutput:-stdout--exitcode: 0--compilationhadfailure: False--outfile: Temp/Assembly-CSharp-Editor.dll Compilation succeeded - 17 warning(s) -----CompilerOutput:-stderr---------- Assets/Mapbox/Unity/Editor/GeocodeAttributeSearchWindow.cs(30,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/GeocodeAttributeSearchWindow.cs(30,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/GeocodeAttributeSearchWindow.cs(35,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/GeocodeAttributeSearchWindow.cs(35,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/ScriptableCreatorWindow.cs(26,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/ScriptableCreatorWindow.cs(26,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/ScriptableCreatorWindow.cs(31,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/ScriptableCreatorWindow.cs(31,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/StyleSearchWindow.cs(30,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/StyleSearchWindow.cs(30,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/StyleSearchWindow.cs(35,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Mapbox/Unity/Editor/StyleSearchWindow.cs(35,22): warning CS0618: UnityEditor.EditorApplication.playmodeStateChanged' is obsolete:Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged' Assets/Navigation/NavMeshComponents/Editor/NavMeshModifierVolumeEditor.cs(108,22): warning CS0618: UnityEditorInternal.EditMode.DoEditModeInspectorModeButton(UnityEditorInternal.EditMode.SceneViewEditMode, string, UnityEngine.GUIContent, UnityEngine.Bounds, UnityEditor.Editor)' is obsolete:Use signature passing Func rather than Bounds.' Assets/Navigation/NavMeshComponents/Editor/NavMeshModifierVolumeEditor.cs(21,42): warning CS0618: UnityEditor.IMGUI.Controls.BoxBoundsHandle.BoxBoundsHandle(int)' is obsolete:Use parameterless constructor instead.' Assets/Navigation/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs(443,22): warning CS0618: UnityEditorInternal.EditMode.DoEditModeInspectorModeButton(UnityEditorInternal.EditMode.SceneViewEditMode, string, UnityEngine.GUIContent, UnityEngine.Bounds, UnityEditor.Editor)' is obsolete:Use signature passing Func rather than Bounds.' Assets/Navigation/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs(60,42): warning CS0618: UnityEditor.IMGUI.Controls.BoxBoundsHandle.BoxBoundsHandle(int)' is obsolete:Use parameterless constructor instead.' Assets/Mapbox/Unity/Editor/TerrainWithSideWallsFactoryEditor.cs(10,38): warning CS0414: The private field `TerrainWithSideWallsFactoryEditor._factory' is assigned but its value is never used

grobm commented 5 years ago

Downgrade your unity to 2017.2.x or try upgrading your mapbox plugin to the newest build. Its a known issue with mapbox that if you try to implement directions with the worldscale you willget a crash due to the main thread crashing at runtime.

sandunsameera commented 4 years ago

@grobm i downgraded unity to 2017.2.0f3 and used latest mapbox sdk but still it keep crashing after the launching made with unity icon.. any help?