By Jennarvr
on Fri, 09/13/2019 - 06:30
Vuforia SDK Version: 8.3.8 -
Description with steps to reproduce: I have an app that is used across Pc (mac and windows) UWP and mobile. The Mac builds are not intended to use AR functionality (as obviously this will not work) however they still need to reference Vuforia libraries. I have Vuforia on delayed initialisation and no code uses vuforia in the initial scene, however the system crashes immediately and appears to indicates that Vuforia is the issue.
The app works fine on all builds aside from a certain group of Mac Laptops. The only common factor I can see is that they do not have a graphics card, instead having on-board graphics. The same build does not create problems when deployed onto an iMac (various imacs and laptops that were NOT development machines were tested)
The crash log below:
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFURLSessionConfiguration setWaitsForConnectivity:]: unrecognized selector sent to instance 0x7f969e45e860'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fffcf9012cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffe471f48d objc_exception_throw + 48
2 CoreFoundation 0x00007fffcf982f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fffcf873755 ___forwarding___ + 1061
4 CoreFoundation 0x00007fffcf8732a8 _CF_forwarding_prep_0 + 120
5 VuforiaWrapper 0x000000011475278d eyewearDeviceSetPredictiveTracking + 12002458
6 VuforiaWrapper 0x0000000114752d38 eyewearDeviceSetPredictiveTracking + 12003909
7 Foundation 0x00007fffd129a8ad __NSThread__start__ + 1243
8 libsystem_pthread.dylib 0x00007fffe521e93b _pthread_body + 180
9 libsystem_pthread.dylib 0x00007fffe521e887 _pthread_body + 0
10 libsystem_pthread.dylib 0x00007fffe521e08d thread_start + 13 -
Development OS (Mac OS X, Windows, Linux): Windows -
Mobile OS and Version: n/A -
Mobile Device Manufacturer and Model name: n/A -
Do the Vuforia Sample Applications show the same behavior?:
Further to this, I have found
Further to this, I have found on my system the Image Targets create an error in the editor (vuf_error 1.jpg).
Hi,
Hi,
For the first issue that you are facing on iMacs, could you please turn off Vuforia after the delayed initialization using: VuforiaBehaviour.Instance.enabled = false.