At WWDC, Apple surprised the whole industry by revealing a visionary and wide-reaching set of AR and VR technologies, demonstrated live with film-quality content created by industry luminaries using Unreal Engine 4. And the best news: Unreal Engine 4’s early access support for ARKit is available now on GitHub (login required)! So, you can get started building AR experiences right now with 100% complete source code that’s ready to compile and run. Binary support is coming with the Unreal Engine 4.17 Preview in July followed by launch in early August.
I have a problem after following your installation guide :
ERROR: UBT ERROR: Failed to produce item: /Applications/UE4.17/Engine/Binaries/Mac/UE4Editor.app/Contents/MacOS/UE4Editor-MetalRHI.dylib
What i did :
Download the Zip from the github
Open the stup and generate file
Build the ShaderCompileWorker and UnrealLightmass with the new Xcode Beta
Then Build the UE4 and get this error.
I tried to compile the SampleProject but same problem.
My build ends with the exact same error… I’ve also seen in another thread that some people are having problems using Nvidia cards but that’s a step forward we are.
In fact in the last step you mention I tried to build and run the ARSample scheme (making sure before that building configuration was set to Development Editor).
Hi,
Has anybody had any luck getting ARKit to work in 4.17 Preview 3?
I am able to load ARSample and work with the ARKit components, but the editor crashes when I try to launch on device. I also tried creating a project from scratch and adding to it an ARKitCamera - in that case, the editor didn’t crash on launch but the app crashed on startup.
Any ideas?
No luck, I get this error any time I add the ARKit plugin and try to launch on device:
UnrealBuildTool: ERROR: Failed to start local process for action (“Cannot start process because a file name has not been provided.”): -o BatchMode=yes ${CURRENT_USER}@ “cd “/” && xcode-select --print-path”
Kinda . I was able to open a copy of the ARKit sample project with 4.17p3 (it converted in place). After waiting for the shaders to compile, I was able to package it out to an IPA. Starting that up on the device though did what happened to you – black screen for a half second then crash.
FWIW - the IPA from the dev-arkit branch of the same project was ~206MB, while this from 4.17p3 was ~135MB (granted, that one failed). This is with XCode 9 Beta 2.
thanks for info @jawatr & @Burly.
Seems very similar to the types of issues I’m seeing. It seems like a few people (according to other threads) have their projects up and running on their devices… Not sure what the difference is - maybe the they’re deploying from? I’m using an iMac with an NVidia video card.
I am able to get the ARKit sample project running on device – but through exactly one specific path: Building and running the ARkit Sample project from the latest dev-arkit branch, using XCode 9 Beta 2 (only), and packaging to IPA to side load through iTunes. No other combination pans out for me.
Even so, that only kinda works. Running the sample on my iPhone, the orientation is all rotated and skewed. I can see the world orientation plane, but the camera is rotated 90 degrees CCW and the aspect ratio is messed up. The geometry does project into the view, but the world tracking is not really working so it’s a mess. This is on an iPhone 7 Plus, with IOS11 beta 3 as well as beta 4, built from a Mid 2012 MBP with an NVidia GT 650M. @anonymous_user_c6f35b18 I hadn’t though to try to force open the sample in the latest 4.17p3 until you mentioned it. When that came out, the first thing I did was look for an AR option in the new project browser. When that wasn’t there, I figured it didn’t have some level of support ready yet. I wish I knew more about how all these pieces go together to know why it’s not.
Have you been been able to get it working from the dev-arkit branch?
Now that I’ve finally gotten something to work, I was going to try to poke more around the project to see if I can get it to orient properly.
@Burly - Interesting. Sounds like we have similar Macs (and I’m testing on an iPhone 7). I tried XCode 9 Beta 2 at one point (and deleted it already), but the editor always crashed no matter what I tried with the dev-ar-kit branch.
To try out the sample in 4.17p3 I did the following:
copy the ARSample directory from dev-ar-kit to a new location
I have the exact same issue with the ARKit Sample project, I cannot get it to launch on a device, and when I package the app and install directly, it crashes a few seconds after opening it. Has anyone got the ARKit Sample project to work on an iOS Device from 4.17 preview 3? I could not get the ArKit Branch on github to compile.