By PinkKong
on Mon, 02/22/2016 - 13:05
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/UnityIdentifier: com.unity3d.UnityEditor5.xVersion: 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 +0200OS Version: Mac OS X 10.11.1 (15B42)Report Version: 11Anonymous 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, 0x0000000000000000Exception 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 NSExceptionabort() called Application Specific Backtrace 1:0 CoreFoundation 0x00007fff8ab30e32 __exceptionPreprocess + 1781 libobjc.A.dylib 0x00007fff8d76add4 objc_exception_throw + 482 CoreFoundation 0x00007fff8ab9a34d -[NSObject(NSObject) doesNotRecognizeSelector:] + 2053 CoreFoundation 0x00007fff8aaa1661 ___forwarding___ + 10094 CoreFoundation 0x00007fff8aaa11e8 _CF_forwarding_prep_0 + 1205 Foundation 0x00007fff819a494e -[NSFileManager fileExistsAtPath:] + 606 Unity 0x00000001011dc0eb -[AppendSavePanel _overwriteExistingFileCheck:] + 597 AppKit 0x00007fff936e3bce -[NSSavePanel _okForSaveMode] + 3178 AppKit 0x00007fff936e48d7 -[NSSavePanel ok:] + 2119 libsystem_trace.dylib 0x00007fff8736f082 _os_activity_initiate + 7510 AppKit 0x00007fff932cd811 -[NSApplication sendAction:to:from:] + 46011 AppKit 0x00007fff932dfa0e -[NSControl sendAction:to:] + 8612 AppKit 0x00007fff932df938 __26-[NSCell _sendActionFrom:]_block_invoke + 13113 libsystem_trace.dylib 0x00007fff8736f082 _os_activity_initiate + 7514 AppKit 0x00007fff932df895 -[NSCell _sendActionFrom:] + 14415 libsystem_trace.dylib 0x00007fff8736f082 _os_activity_initiate + 7516 AppKit 0x00007fff932ddeba -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 269317 AppKit 0x00007fff93326b78 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 74418 AppKit 0x00007fff932dc5e4 -[NSControl mouseDown:] + 66919 AppKit 0x00007fff9382a42d -[NSWindow _handleMouseDownEvent:isDelayedEvent:] + 632220 AppKit 0x00007fff9382b411 -[NSWindow _reallySendEvent:isDelayedEvent:] + 21221 AppKit 0x00007fff93270b8d -[NSWindow sendEvent:] + 51722 AppKit 0x00007fff931f0b27 -[NSApplication sendEvent:] + 254023 Unity 0x00000001011eaf15 -[EditorApplicationPrincipalClass sendEvent:] + 14924 AppKit 0x00007fff932d35dc -[NSApplication _realDoModalLoop:peek:] + 75125 AppKit 0x00007fff932d0e19 -[NSApplication runModalForWindow:] + 23826 AppKit 0x00007fff936e298e -[NSSavePanel runModal] + 62727 Unity 0x00000001011dbd72 _Z29RuniPhoneReplaceOrAppendPanelRKSsS0_S0_Pb + 21028 Unity 0x000000010103bebd _Z17RunSaveBuildPanel19BuildTargetPlatformRKSsS1_S1_S1_Pb + 4529 Unity 0x0000000101852da1 _Z35EditorUtility_CUSTOM_SaveBuildPanel19BuildTargetPlatform11ICallStringS0_S0_S0_Ph + 17730 ??? 0x000000010ca80a99 0x0 + 4507306649
Problem building in iOS on Vuforia 5-0-10 and Unity 5.0
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
Problem building in iOS on Vuforia 5-0-10 and Unity 5.0
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
[quote=solo024]
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.
[/quote]
Problem building in iOS on Vuforia 5-0-10 and Unity 5.0
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
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
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
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
Vuforia 5.0.10 supports Unity 4.6, 5.1, 5.2 and 5.3 up to and including 5.3.1
Problem building in iOS on Vuforia 5-0-10 and Unity 5.0
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.