Search Issue Tracker
Fixed in 1.0.0-preview.20
Votes
19
Found in [Package]
1.0.0-preview.5
Issue ID
1092601
Regression
No
[iOS][Android] AR Foundation project crashes when having more than one AR Scene
Steps:
1. Build and Run user's attached project for iOS or Android
2. In Player, press ARScene1, Back, ARScene2, Back
Expected: game returns to Main Menu screen
Actual: Player crashes
Reproduced with: 2018.2.14f1, 2018.3.0b6.
Not reproduced with: 2017.4.14f1, 2019.1.0a6 (due to Errors in Unity Console)
Tested with: iPhone 6 (iOS 11.3.1), Xcode 10.0; OnePlus 5T.
Note:
-not reproducible on Editor and Standalone Player
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Desiigner7HD
Mar 26, 2019 10:15
Issue not fixed.
I´m still getting this Issue with ARKIT 2.0 on IPad Pro 2018 with IOS 12.1.4.
I´m attaching on the SceneManager SceneChanged Event. And every Time when i switch the scene the ARSessionNative Interface will be restartet with config and options (remove existing tracker, ...)
When i go to the ar scene, switch back to the menu (no ar scene) and go back to the ar scene it usually crashes.
Lukas_Andriejunas
Nov 13, 2018 15:14
Hey, thank you for noticing the typo. I have changed the fixed version string to preview.20.
DonPeto
Nov 09, 2018 14:39
I had the same problem when I switch between an AR scene and a classic one but only with the 1+3t (8.1, lineage), it's fine with the honor 10 and galaxy s7.
vinnie-vivace
Nov 07, 2018 22:53
updated packages now available and I can confirm bug is fixed.
MSQTobi
Nov 02, 2018 07:52
I think there is a bit of confusion here. 1.0.0-preview6. is referring to the com.unity.xr.arextensions package which is currently at 1.0.0-preview.5 and NOT the com.unity.xr.arfoundation package. It is not listed in the package manager but ARFoundation depends on it.
Is there an ETA when the fix is going live?
vinnie-vivace
Nov 02, 2018 00:15
ummm. agree with other comment, fixed in preview6? Can someone from Unity please advise, this is holding up several projects I am working on. Cheers
ziemlich3D
Oct 31, 2018 10:43
How can this issue be fixed in 1.0.0 preview6? We all have the problem with 1.0.0 preview19! So please have a look at the issue again, as this is a real showstopper for some of us.
I just checked the packages and there is no newer one available than 19, to proof that the fix with 6 is not a typo.
lyha
Oct 29, 2018 15:59
I have faced this issue on iOS, especially on 6S — there is camera freezing (if I have more than one camera) or crash after second ARSession.Reset(). There is a single scene. Tried dozens of tricks, like replacing camera or session, but it doesn't help.
vinnie-vivace
Oct 29, 2018 01:50
as @Pankao says, regardless of scene switching, calling ARSession.Reset more than once will cause a crash on both Android and iOS.
pankao
Oct 27, 2018 06:41
Just to clarify, this issue also occurs even when there is just single AR scene, just when I call ARSession.Reset() more than once in the lifetime of AR session.
In my case I am switching between application states using Animator SM, having AR setup in-place all the time, thus I need to call ARSession.Reset() when i switch back to AR state (to get rid of previously tracked features etc.)
The app either hangs or crashes upon subsequent calls of ARSession.Reset().