Log in or register to post comments

crash when the current directory path includes non-ascii string.

December 13, 2018 - 6:45pm #1

Vuforia SDK Version: 7.5.26 -

Description with steps to reproduce: i) install Unity Hub.
ii) run Unity Hub and install Unity 2018.3.0f2 or any recent version with "Vuforia Argument Reality Support".
(you may "Add Component" with the installed Unity)
iii) Create any project under non-ascii name of folder like '日本語'.
iv) open "Player Settings" and check "Vuforia Argument Reality" under "XR Settings".
v) press Play button.

What happend:
Editor crash.

BackTrace:
```
Receiving unhandled NULL exception
Obtained 47 stack frames.
#0 0x007fff7096a56f in _platform_strcpy
#1 0x0000016643d6d5 in eyewearDeviceSetPredictiveTracking
#2 0x0000016643dd51 in eyewearDeviceSetPredictiveTracking
#3 0x000001664501c4 in eyewearDeviceSetPredictiveTracking
#4 0x0000016644a4d8 in eyewearDeviceSetPredictiveTracking
#5 0x0000016644a328 in eyewearDeviceSetPredictiveTracking
#6 0x0000016644626f in eyewearDeviceSetPredictiveTracking
#7 0x000001664432ed in eyewearDeviceSetPredictiveTracking
#8 0x000001664435db in eyewearDeviceSetPredictiveTracking
#9 0x000001661d8338 in eyewearDeviceSetPredictiveTracking
#10 0x00000166186c53 in qcarInit
#11 0x00000141c19e98 in (wrapper managed-to-native) Vuforia.VuforiaNativeWrapper:qcarInit (string) + 0x108 (0x141c19d90 0x141c19f10) [0x13fe6d330 - Unity Child Domain]
#12 0x00000141c19d51 in Vuforia.VuforiaNativeWrapper:QcarInit (string) + 0x51 (0x141c19d00 0x141c19d82) [0x13fe6d330 - Unity Child Domain]
#13 0x00000141c19cc4 in Vuforia.PlayModeUnityPlayer:InitializeVuforia (string) + 0x74 (0x141c19c50 0x141c19cf5) [0x13fe6d330 - Unity Child Domain]
#14 0x00000141c180c4 in Vuforia.VuforiaRuntime:InitInternal () + 0x224 (0x141c17ea0 0x141c18121) [0x13fe6d330 - Unity Child Domain]
#15 0x00000141c15652 in Vuforia.VuforiaRuntime:InitVuforia () + 0x182 (0x141c154d0 0x141c1568d) [0x13fe6d330 - Unity Child Domain]
#16 0x00000141c15413 in Vuforia.VuforiaRuntime:VuforiaInitialization () + 0x113 (0x141c15300 0x141c15437) [0x13fe6d330 - Unity Child Domain]
#17 0x00000121955d96 in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr) + 0xf6 (0x121955ca0 0x121955ec9) [0x13fe6d330 - Unity Child Domain]
#18 0x0000013fb13d4a in mono_get_runtime_build_info
#19 0x0000013fc408b6 in mono_runtime_invoke
#20 0x0000010107298a in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
```

This reports the same issue last year.

https://issuetracker.unity3d.com/issues/os-x-unity-editor-crashes-after-clicking-play-on-a-vuforias-project-if-a-path-to-this-project-contains-non-ascii-symbols

As the person reported there,
>3. C string representation is retrieved using [NSString cStringUsingEncoding]. The value 1 is passed
as the encoding parameter, which corresponds to NSASCIIStringEncoding.
here should be fixed.

I strongly believe that lots of Japanese, Korean and Chinese people face this 100% reproducible crash. Including non-ascii string to path is very common.
Quite serious problem, and it won't be a big change for this fix. Could you please handle this? -

Development OS (Mac OS X, Windows, Linux): Mac OS X -

Mobile OS and Version: N/A -

Mobile Device Manufacturer and Model name: N/A -

Do the Vuforia Sample Applications show the same behavior?:

crash when the current directory path includes non-ascii string.

January 28, 2019 - 9:25am #2

I'm using vuforia 8 and unity 2018.3.3f1, same error here 

Log in or register to post comments