arfoundation-samples icon indicating copy to clipboard operation
arfoundation-samples copied to clipboard

iOS 13.3.1 Update (AR Foundation)

Open YoungRichi opened this issue 6 years ago • 31 comments

Hello, I have found an issue with iOS 13.3.1. The iPhone with the latest iOS update cannot run an ARFoundation project that i have been working on. However, it runs perfectly fine on another iPhone with iOS 13.3.

https://forum.unity.com/threads/ar-foundation-unity20193-1f-building-ios.831571/ I believe i am not the only person with the issue. Any advice on how to troubleshoot? Thank you.

YoungRichi avatar Feb 21 '20 09:02 YoungRichi

I will respond to the forum post as well (since it appears others are having this issue) but would you mind posting your manifest for the project so we can start with a basic repro project?

DavidMohrhardt avatar Feb 21 '20 17:02 DavidMohrhardt

I have attached more info on the forum. Basically a standard AR foundation set up with all the latest updates. Please let me know if you are looking for any specific info/ settings?

YoungRichi avatar Feb 22 '20 03:02 YoungRichi

I have the same issue with my iPad that just automatically updated to 13.3.1. - I would really love to figure out a fix!

lydiajessup avatar Feb 23 '20 23:02 lydiajessup

We have tried to reproduce and are unable to do so with the devices on hand. Can you please submit a bug via the bug tracker and include your project?

Additionally can you include the exact version of XCode you are using to build the application?

https://unity3d.com/unity/qa/bug-reporting

DavidMohrhardt avatar Feb 24 '20 21:02 DavidMohrhardt

Also please let us know when you do, so we can triage it asap.

DavidMohrhardt avatar Feb 25 '20 17:02 DavidMohrhardt

Thank you for writing back. I have submitted a bug report on Unity which includes my project. I am using an iMac 2017 with the latest XCode(11.3.1) and latest macOS (Catalina 10.15.3)

YoungRichi avatar Feb 25 '20 19:02 YoungRichi

I have submitted a bug report on Unity which includes my project.

Thank you. Can you post the issue number here? (It makes it easier for us to find.)

tdmowrer avatar Feb 26 '20 05:02 tdmowrer

Absolutely. It is Case 1222831.

YoungRichi avatar Feb 26 '20 05:02 YoungRichi

Got it.

tdmowrer avatar Feb 26 '20 05:02 tdmowrer

@YoungRichi The scene SampleScene in your project worked fine for me using

Unity 2019.3.2f1 Xcode 11.3.1 (11C505) iPad Pro MPDY2LL/A

What device and Xcode version are you using?

tdmowrer avatar Feb 26 '20 06:02 tdmowrer

Really? I am very surprised. I am using Unity 2019.3.2f1, Xcode Version 11.3.1 (11C504) on iPhone 8Plus (13.3.1). It is working on an older iPhone 7 (13.3) for me

https://www.youtube.com/watch?v=OVS6eLFNd1I Out of curiosity, I upgraded my personal iPad Pro 2017 to iOS 13.3.1. I was able to reproduce the same error. How could that be?

YoungRichi avatar Feb 26 '20 07:02 YoungRichi

i have same issue with my App. On previous devices like 7plus 7, even on iphone X it is working but Crashing on XR and XS. One more thing, live version of the app is working on XR and XS but the test flight is crashing on AR part.

AbrarAmin1 avatar Feb 26 '20 12:02 AbrarAmin1

Do you have a callstack for the crash?

tdmowrer avatar Feb 26 '20 12:02 tdmowrer

Do you have a callstack for the crash?

do you mean crash report?

AbrarAmin1 avatar Feb 26 '20 12:02 AbrarAmin1

The crash report should contain a callstack, but the entire crash report could be useful if you are willing to share it.

tdmowrer avatar Feb 26 '20 13:02 tdmowrer

crashlog.txt

AbrarAmin1 avatar Feb 26 '20 13:02 AbrarAmin1

The crash report should contain a callstack, but the entire crash report could be useful if you are willing to share it.

here is the crash report

AbrarAmin1 avatar Feb 26 '20 13:02 AbrarAmin1

Are you sure you are using ARFoundation?

0   libsystem_platform.dylib      	0x00000001b9b5a594 _platform_memmove + 164
1   Freddy                        	0x0000000103af78ec il2cpp::icalls::mscorlib::System::Runtime::InteropServices::Marshal::copy_from_unmanaged(long, in... + 76 (Marshal.cpp:63)
2   Freddy                        	0x00000001044a682c MarshalDirectionalLightEstimate_MarshalCoefficients_m10B24466A4476CC452A5BD06979008DEA75223A7 + 140 (Assembly-CSharp12.cpp:24665)
3   Freddy                        	0x00000001044ab53c UnityMarshalLightData_op_Implicit_mAB2E438F89C9A7AD564DDF148171BFB91F1D75AF + 132 (Assembly-CSharp12.cpp:24636)
4   Freddy                        	0x00000001044a8d68 UnityARSessionNativeInterface__frame_update_m7E9E0776881076EEAF54F8CE24680FF83E7DDCC4 + 192 (Assembly-CSharp12.cpp:28224)
5   Freddy                        	0x0000000102a0cc28 ReversePInvokeWrapper_UnityARSessionNativeInterface__frame_update_m7E9E0776881076EEAF54F8CE24680F... + 52 (Assembly-CSharp12.cpp:26354)
6   Freddy                        	0x0000000102ab7a70 __41-[UnityARSession session:didUpdateFrame:]_block_invoke + 48 (ARSessionNative.mm:661)

Suggests this callback from the UnityARKit BitBucket plugin.

tdmowrer avatar Feb 26 '20 13:02 tdmowrer

Are you sure you are using ARFoundation?

0   libsystem_platform.dylib      	0x00000001b9b5a594 _platform_memmove + 164
1   Freddy                        	0x0000000103af78ec il2cpp::icalls::mscorlib::System::Runtime::InteropServices::Marshal::copy_from_unmanaged(long, in... + 76 (Marshal.cpp:63)
2   Freddy                        	0x00000001044a682c MarshalDirectionalLightEstimate_MarshalCoefficients_m10B24466A4476CC452A5BD06979008DEA75223A7 + 140 (Assembly-CSharp12.cpp:24665)
3   Freddy                        	0x00000001044ab53c UnityMarshalLightData_op_Implicit_mAB2E438F89C9A7AD564DDF148171BFB91F1D75AF + 132 (Assembly-CSharp12.cpp:24636)
4   Freddy                        	0x00000001044a8d68 UnityARSessionNativeInterface__frame_update_m7E9E0776881076EEAF54F8CE24680FF83E7DDCC4 + 192 (Assembly-CSharp12.cpp:28224)
5   Freddy                        	0x0000000102a0cc28 ReversePInvokeWrapper_UnityARSessionNativeInterface__frame_update_m7E9E0776881076EEAF54F8CE24680F... + 52 (Assembly-CSharp12.cpp:26354)
6   Freddy                        	0x0000000102ab7a70 __41-[UnityARSession session:didUpdateFrame:]_block_invoke + 48 (ARSessionNative.mm:661)

Suggests this callback from the UnityARKit BitBucket plugin.

Sorry i didn't mention. i am not using AR Foundation. But the issue is same. Isn't it.?

AbrarAmin1 avatar Feb 26 '20 13:02 AbrarAmin1

ARFoundation does not share a common codebase with UnityARKit, so these seem like two unrelated issues with the same symptom. UnityARKit is no longer maintained, and to fix it in ARFoundation, we would need to reproduce the problem or at least have a crash report to even begin to debug the issue.

tdmowrer avatar Feb 26 '20 13:02 tdmowrer