Log in or register to post comments

2018.1.5f1: iOS app crashes if screen orientation changes

July 1, 2018 - 8:29am #1

We upgraded our AR app from Unity 2017.3f1 to 2018.5f1, but had to downgrade because our iOS app crashes each time the screen orientation changes. I've also seen an issue in the Unity issue tracker describing this. Did anyone find a workaround for this bug?

2018.1.5f1: iOS app crashes if screen orientation changes

September 30, 2018 - 6:00pm #6

I have same the issue.

I use Unity 2017 LTS for a while.

So Please, fix the bug on both Unity 2017 LTS and Unity 2018.

2018.1.5f1: iOS app crashes if screen orientation changes

September 18, 2018 - 7:04am #5

Same problem here with Unity 2018.1.8 and Vuforia 7.2.24...

2018.1.5f1: iOS app crashes if screen orientation changes

August 7, 2018 - 12:16pm #4

Any update on this, Vuforia Support?.

We are experiencing the same error in Unity 2017.4.8 and Vuforia 7.0.57

2018.1.5f1: iOS app crashes if screen orientation changes

July 19, 2018 - 4:04am #3

Same problem here with:

 

Unity 1018.1.3f1

Vuforia SDK version 7.1.35

 

Tried different ways:

  • Normal build
  • Debug Build
  • Metal enabled
  • Metal Disabled

but no luck... on XCode the "crash point" is at:

 

SurfaceUtilities_OnSurfaceChanged_m3622836527(NULL /*static, unused*/, L_14, L_15, /*hidden argument*/NULL);

on:

 

Classes/Native/Bulk_Vuforia.UnityExtensions_1.cpp

function:

 

Vuforia.MonoCameraConfiguration::CheckForSurfaceChanges()

and on console:

 

2018-07-19 12:49:16.462114+0200 experience[4849:1477712] DEBUG/AR(4849) UIView has CAMetalLayer layer class

2018-07-19 12:49:16.462250+0200 experience[4849:1477712] DEBUG/AR(4849) UIView does not respond to selector renderFrameVuforia

2018-07-19 12:49:16.462338+0200 experience[4849:1477712] DEBUG/AR(4849) UIView has CAMetalLayer layer class

2018-07-19 12:49:16.462366+0200 experience[4849:1477712] DEBUG/AR(4849) UIView does not respond to selector renderFrameVuforia

2018-07-19 12:49:16.462384+0200 experience[4849:1477712] DEBUG/AR(4849) Could not find a UIView with CAEAGLLayer or CAMetalLayer layer class that responds to selector renderFrameVuforia

2018-07-19 12:49:24.959480+0200 experience[4849:1477461] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

2018-07-19 12:49:24.959545+0200 experience[4849:1477461] [App] if we're in the real pre-commit handler we can't actually add any new fences due to CA restriction

 

 

If anybody has a workaround for this crash... it will save my life!

2018.1.5f1: iOS app crashes if screen orientation changes

July 2, 2018 - 11:37am #2

Hello waldeist,

Which iOS devices and iOS versions do you see this on? Can you reproduce it in the samples?

Thanks,

Vuforia Engine Support

Log in or register to post comments