4.17 - ARKit - Editor Crashes on Launch to iPhone 7

Hi,

The editor is crashing when I try to launch ARSample from 4.17 onto an iPhone 7 from an NVidia-based ~2012 iMac.

LoginId:
EpicAccountId:

 SEGV_MAPERR at 0x3

FGenericPlatformMisc::RaiseException(unsigned int) Address = 0x1055dec9b (filename not found) [in UE4Editor-Core.dylib]
FOutputDeviceMacError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) Address = 0x1057f625f (filename not found) [in UE4Editor-Core.dylib]
FOutputDevice::Logf(wchar_t const*, ...) Address = 0x1058dc94d (filename not found) [in UE4Editor-Core.dylib]
FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) Address = 0x10582f81e (filename not found) [in UE4Editor-Core.dylib]
ProcessCompiledJob(FShaderCompileJob*, FShaderPipelineType const*, TArray<EShaderPlatform, FDefaultAllocator>&, TArray<FShaderPipelineType const*, FDefaultAllocator>&) Address = 0x108bb325c (filename not found) [in UE4Editor-Engine.dylib]
ProcessCompiledGlobalShaders(TArray<FShaderCommonCompileJob*, FDefaultAllocator> const&) Address = 0x108b91f60 (filename not found) [in UE4Editor-Engine.dylib]
FShaderCompilingManager::ProcessCompiledShaderMaps(TMap<int, FShaderMapFinalizeResults, FDefaultSetAllocator, TDefaultMapHashableKeyFuncs<int, FShaderMapFinalizeResults, false> >&, float) Address = 0x108b8fdfa (filename not found) [in UE4Editor-Engine.dylib]
FShaderCompilingManager::FinishCompilation(wchar_t const*, TArray<int, FDefaultAllocator> const&) Address = 0x108b986a6 (filename not found) [in UE4Editor-Engine.dylib]
VerifyGlobalShaders(EShaderPlatform, bool) Address = 0x108bad416 (filename not found) [in UE4Editor-Engine.dylib]
CompileGlobalShaderMap(EShaderPlatform, bool) Address = 0x108bb054a (filename not found) [in UE4Editor-Engine.dylib]
BeginRecompileGlobalShaders(TArray<FShaderType*, FDefaultAllocator> const&, TArray<FShaderPipelineType const*, FDefaultAllocator> const&, EShaderPlatform) Address = 0x108bb18b9 (filename not found) [in UE4Editor-Engine.dylib]
RecompileShadersForRemote(FString const&, EShaderPlatform, FString const&, TArray<FString, FDefaultAllocator> const&, TArray<unsigned char, FDefaultAllocator> const&, TArray<unsigned char, FDefaultAllocator>*, TArray<FString, FDefaultAllocator>*, bool) Address = 0x108bb22dd (filename not found) [in UE4Editor-Engine.dylib]
UCookOnTheFlyServer::SaveGlobalShaderMapFiles(TArray<ITargetPlatform*, FDefaultAllocator> const&) Address = 0x10dee391b (filename not found) [in UE4Editor-UnrealEd.dylib]
UCookOnTheFlyServer::StartCookByTheBook(UCookOnTheFlyServer::FCookByTheBookStartupOptions const&) Address = 0x10dec38fb (filename not found) [in UE4Editor-UnrealEd.dylib]
UUnrealEdEngine::StartCookByTheBookInEditor(TArray<ITargetPlatform*, FDefaultAllocator> const&, TArray<FString, FDefaultAllocator> const&, TArray<FString, FDefaultAllocator> const&, TArray<FString, FDefaultAllocator> const&, TArray<FString, FDefaultAllocator> const&) Address = 0x10eddba72 (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::PlayUsingLauncher() Address = 0x10e971e05 (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::StartQueuedPlayMapRequest() Address = 0x10e96d17e (filename not found) [in UE4Editor-UnrealEd.dylib]
UEditorEngine::Tick(float, bool) Address = 0x10e0fbee4 (filename not found) [in UE4Editor-UnrealEd.dylib]
UUnrealEdEngine::Tick(float, bool) Address = 0x10eddc28c (filename not found) [in UE4Editor-UnrealEd.dylib]
FEngineLoop::Tick() Address = 0x1054d8e75 (filename not found) [in UE4Editor]
GuardedMain(wchar_t const*) Address = 0x1054e0c22 (filename not found) [in UE4Editor]
-[UE4AppDelegate runGameThread:] Address = 0x1054ee5d0 (filename not found) [in UE4Editor]
-[FCocoaGameThread main] Address = 0x1057b1e86 (filename not found) [in UE4Editor-Core.dylib]
Unknown() Address = 0x7fffa21ca8ad (filename not found) [in Foundation]
_pthread_body Address = 0x7fffb670493b (filename not found) [in libsystem_pthread.dylib]
_pthread_body Address = 0x7fffb6704887 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fffb670408d (filename not found) [in libsystem_pthread.dylib]

Testing some more. I can get to work if I use it in a new empty project. So I’m guessing it’s a specific combination of components in ARSample (or something else in ARSample) that’s causing the issue.

Hi ,

Sorry to hear about the difficulty that you have been having. The dev-ar-kit branch on GitHub is considered to be an experimental branch, and we do not provide support for it. We are still working on getting the new functionality from that branch incorporated into the release branch. We had hoped to have that completed for 4.17, but we were unable to make that happen, unfortunately.

Thanks for the update .
Looking forward to official ARKit support - maybe in 4.18? In the meantime, will dev-ar-kit continue to get updated or will all new ARKit features go into the master or 4.17 branches?

It is unlikely that the dev-ar-kit branch will see any bug fixes applied to it directly, and I believe the same applies to new features. Fixes and new features are likely to be applied as the functionality is brought into the main Engine branch. The dev-ar-kit branch was really intended to be more like an experimental proof of concept implementation.

I see.
Ok, thank you.