Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
2.97k stars 1.11k forks source link

Crash on Oculus IN-64517 #1138

Closed DairexLord1 closed 5 months ago

DairexLord1 commented 6 months ago

IN-64517 - Crash bug on Oculus with animated model and plane manager

After second launch of app on Oculus2/3 app crashes and close

To Reproduce Steps to reproduce the behavior:

  1. Create unity (2022.3.16f) 3d project
  2. Add Ar/foundation, Meta xr, xr interaction toolkit
  3. Validate android build
  4. Use SimpleAr sample,
  5. Add animated zombie character (https://assetstore.unity.com/packages/3d/characters/humanoids/zombie-30232)
  6. Build and run on device

Expected behavior Mr android app with character for Oculus (passthrough, interaction)

Actual behavior On first run on Oculus2/3 all works, on second run app starts freeze for 2 - 3 seconds at the moment of character with animator appears and crashes (close)

Smartphone (please complete the following information):

Снимок экрана 2023-12-28 в 11 06 31 Снимок экрана 2023-12-27 в 15 27 44 Снимок экрана 2023-12-27 в 15 27 27 Снимок экрана 2023-12-27 в 15 26 53 Снимок экрана 2023-12-27 в 15 26 16 Снимок экрана 2023-12-28 в 11 08 35 Снимок экрана 2023-12-28 в 11 08 44
andyb-unity commented 5 months ago

Closing this issue because you did not respond to QA. For everyone else's benefit, here is what QA determined:

Thank you for reporting this issue!

I’ve tested and reproduced the issue, although It seems that the problem is within your “MeoPosition.cs” script because, after removing it we could not reproduce the issue. I’ve contacted the developers and asked them to investigate this script and find what exactly causes the crash on Android.

Until then it would be best if you could also review the “MeoPosition.cs” script to see if you can find what exactly causes the crash.

I’ll be waiting for your response!