Log in or register to post comments

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 22, 2016 - 5:05am #1

I am having issues building for iOS. Running Vuforia 5-0-1 on Unity 5.0.

When I press buils Unity closes automatically and gives a really long error code- this is the start of it:

Process:               Unity [1505]
Path:                  /Applications/Unity/Unity.app/Contents/MacOS/Unity
Identifier:            com.unity3d.UnityEditor5.x
Version:               Unity version 5.0.0f4 (5.0.0f4)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Unity [1505]
User ID:               501
 
Date/Time:             2016-02-22 14:25:30.259 +0200
OS Version:            Mac OS X 10.11.1 (15B42)
Report Version:        11
Anonymous UUID:        133B1A34-AD12-37BF-13D7-AFDE1CFCD973
 
 
Time Awake Since Boot: 4800 seconds
 
System Integrity Protection: enabled
 
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
 
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
 
Application Specific Information:
Performing @selector(ok:) from sender NSButton 0x187b92ac0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSURL length]: unrecognized selector sent to instance 0x1917d8bc0'
terminating with uncaught exception of type NSException
abort() called
 
Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff8ab30e32 __exceptionPreprocess + 178
1   libobjc.A.dylib                     0x00007fff8d76add4 objc_exception_throw + 48
2   CoreFoundation                      0x00007fff8ab9a34d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
3   CoreFoundation                      0x00007fff8aaa1661 ___forwarding___ + 1009
4   CoreFoundation                      0x00007fff8aaa11e8 _CF_forwarding_prep_0 + 120
5   Foundation                          0x00007fff819a494e -[NSFileManager fileExistsAtPath:] + 60
6   Unity                               0x00000001011dc0eb -[AppendSavePanel _overwriteExistingFileCheck:] + 59
7   AppKit                              0x00007fff936e3bce -[NSSavePanel _okForSaveMode] + 317
8   AppKit                              0x00007fff936e48d7 -[NSSavePanel ok:] + 211
9   libsystem_trace.dylib               0x00007fff8736f082 _os_activity_initiate + 75
10  AppKit                              0x00007fff932cd811 -[NSApplication sendAction:to:from:] + 460
11  AppKit                              0x00007fff932dfa0e -[NSControl sendAction:to:] + 86
12  AppKit                              0x00007fff932df938 __26-[NSCell _sendActionFrom:]_block_invoke + 131
13  libsystem_trace.dylib               0x00007fff8736f082 _os_activity_initiate + 75
14  AppKit                              0x00007fff932df895 -[NSCell _sendActionFrom:] + 144
15  libsystem_trace.dylib               0x00007fff8736f082 _os_activity_initiate + 75
16  AppKit                              0x00007fff932ddeba -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2693
17  AppKit                              0x00007fff93326b78 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 744
18  AppKit                              0x00007fff932dc5e4 -[NSControl mouseDown:] + 669
19  AppKit                              0x00007fff9382a42d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 6322
20  AppKit                              0x00007fff9382b411 -[NSWindow _reallySendEvent:isDelayedEvent:] + 212
21  AppKit                              0x00007fff93270b8d -[NSWindow sendEvent:] + 517
22  AppKit                              0x00007fff931f0b27 -[NSApplication sendEvent:] + 2540
23  Unity                               0x00000001011eaf15 -[EditorApplicationPrincipalClass sendEvent:] + 149
24  AppKit                              0x00007fff932d35dc -[NSApplication _realDoModalLoop:peek:] + 751
25  AppKit                              0x00007fff932d0e19 -[NSApplication runModalForWindow:] + 238
26  AppKit                              0x00007fff936e298e -[NSSavePanel runModal] + 627
27  Unity                               0x00000001011dbd72 _Z29RuniPhoneReplaceOrAppendPanelRKSsS0_S0_Pb + 210
28  Unity                               0x000000010103bebd _Z17RunSaveBuildPanel19BuildTargetPlatformRKSsS1_S1_S1_Pb + 45
29  Unity                               0x0000000101852da1 _Z35EditorUtility_CUSTOM_SaveBuildPanel19BuildTargetPlatform11ICallStringS0_S0_S0_Ph + 177
30  ???                                 0x000000010ca80a99 0x0 + 4507306649

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

April 1, 2016 - 5:17am #12

Thanks for the current summary, Alessandro.

I've managed to get the app working by using a stub scene, before loading the scene with the Vuforia app. I will check more into this and reply if I get something more relevant.

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

April 1, 2016 - 4:37am #11

Vuforia 5.0.10 supports Unity 4.6, 5.1, 5.2 and 5.3 up to and including 5.3.1

 

Vuforia 5.5.9 supports Unity 5.2 and Unity 5.3 up to and including the latest 5.3.4;

there are 2 known issues with Vuforia 5.5.9 already discussed in this Forum:

1. Realtime shadows :  issue description and a simple workaround is available in this thread: https://developer.vuforia.com/forum/issues-and-bugs/shadows-dont-work-latest-vuforia-unity-sdk

2. GearVR Stereo issue, only affecting Unity 5.3.4: discussion and workaround available here:  https://developer.vuforia.com/forum/unity-extension-technical-discussion/gearvr-passthrough-camera-not-working-arvr-sample

 

For more information about Vuforia 5.5.9, see also:

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

April 1, 2016 - 4:10am #10

It  does not work for me. Not 5.3.4, no 5.3.1. I'm using Unity Cloud Build.

I will try to open a new forum post, maybe. I just did not knew that Vuforia is so buggy. I'ts very overpriced for that.

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

March 31, 2016 - 11:38pm #9

No, that is not the problem. I assume that it should work out of the box. All my posts are about keep using the previous Vuforia version together with Unity 5.3.1 with the last version of xCode.

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

March 31, 2016 - 5:07pm #8

So... if you do want to use Vuforia with Unity, to iOs, I do need Vuforia 5.0.10? The latest Vuforia, 5.5, does not works?

If it is true, where the 5.0.10 is to be downloaded? I did not found it anywhere.

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

March 30, 2016 - 9:10am #7

solo024 wrote:

Use 5.3.1P3, that is latest version best work with Vuforia. 5.3.1 have some UI bug if you use Unity UI system. 5.3.0 also works.

5.3.1P4-5.3.3P1 are not compatible with vuforia 5.0.10.

I just built my project using Vuforia 5.0.10 and Unity 5.3.1p4. I just needed to disable the bitcode support in xcode and add the systemconfiguration and security frameworks to "Build Phases" -> "Link binary with libraries".

Hope this helps.

EDIT: I have just realized that, although the project compiles and runs properly on iOS with the described method, any attempt to select any Vuforia object or instantiate any Vuforia prefab (Image Target, ARCamera, ...) in Unity 5.3.1p4 inmediatly causes an Unity crash. This means that, in case you need to modify your project, you will need to keep both versions, pre-p4 and p4 to develop and compile for iOS.

 

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 25, 2016 - 5:42am #6

Thanks all, I got it working on 5.3.1.... now to tackle XCode!

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 24, 2016 - 1:21pm #5

Use 5.3.1P3, that is latest version best work with Vuforia. 5.3.1 have some UI bug if you use Unity UI system. 5.3.0 also works.

5.3.1P4-5.3.3P1 are not compatible with vuforia 5.0.10.

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 24, 2016 - 2:03am #4

You don't need to go back to an earlier version of Unity;

you can install the latest Unity 5.3.1, 5.3.2 or 5.3.3 on Windows, by:

- downlaoding the Windows 32-bit version of the Unity Editor (see under 'Additional Downloads"), and install it

- then download the Download Assistant or Installer

- run the Installer

- when the install dialog presents you the options about which components you want to install, UNCHECK the Unity Editor (cause otherwise it will install the 64bit version and will override the 32 bit version you already installed previously)

- also select any additional components you need (e.g. Android support)

 

The process above will give you a complete installation of the 32bit version of Unity 5.3 for Windows.

 

 

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 23, 2016 - 1:42am #3

Originally I had the latest version or unity but that didn't even let me load the image target (due to 64bit pc). So I downloaded an earlier version, might go back to trying with a newer unity as I am now using a Mac to do it!

Problem building in iOS on Vuforia 5-0-10 and Unity 5.0

February 22, 2016 - 11:04pm #2

You may want to upgrade to a more recent version of Unity 5 (i.e. 5.3.1f1). There's been a lot of fixes since the early 5.0 releases. The 5.0.0f4 release is almost a year old.

http://unity3d.com/get-unity/download/archive

https://developer.vuforia.com/forum/unity-extension-technical-discussion/notice-unity-532-incompatible-vuforia

 

Log in or register to post comments