ARKit 4.18 preview 1 - official IOS 11 and XCode 9 - camera feed ?

I have the same problem. I did the same method and BP but cant see the cube.
Anyway, i just want to make sure that you use ARkitCameraMaterial as a post process of the camera and having no sky and video box?

Edited: ***finally, I can spawn a cube and see it by just restart Unreal engine, and it’s all work fine!

Hmm… I have tried to spawn 6 different Actor blueprints with each having a pre set static mesh component. The different meshes have the same material and are created inside Unreal (cubes that vary in size). Now that I try to spawn them, some spawn and some don’t.

I tried to spawn them in the same way in a non AR environment, and it works perfectly.

I now also don’t know what’s missing or wrong. Could it be a bug?

after further investigation,I have found that if i disable the post process material and leave the camera , the spawn works but with strange location, if i enable the post process material ,i cannot see the spawned actors anymore…

So in regards to AR. I’ve deployed test project following simple setup with cube placing.

Material function done by skyphyr works, no screen
Placing cubes following simple OnTouchEvent setup from within level blueprint seems to spawn actors in the world but transform is all messed up, to me it doesn’t seem like AR is working here.


App seems to run only in landscape, swapping to portrait breaks aspect ratio.

https://i.imgur.com/oiSG625.png

https://forums.unrealengine.com/core/blob:https://imgur.com/ebb62ddf-e955-4b49-a97f-e5a886955c99

Would appreciate any insight from Epic Staff, since most likely we’re not dealing with engine issues but wrong setup.

Hi Shin_ji,

It would be best to keep this thread on the topic of the tint rendering issue, which we are still looking into and will likely be entering a bug for soon. I see that you have made an Answerhub post for your particular issue here so we’ll have someone look into that issue and respond there.

I accidentally left the ARKit material off of the camera and off of the world background, and everything works much better. Just black nothingness in the level seems to do the camera passthrough just fine if you " in AR". I don’t notice any tint issues at the moment. Using 4.18p2

Hi Omigamedev, any luck fixing the dark camera feed?
I am having the same issue

Nope sorry, I gave up at the moment. I’ll wait for the implementation to be complete, because it’s clearly in preview.

4.18p3 here. Turned on Mobile HDR based on a friends test and camera image looks brighter.

Looks like the AR plug-in is disabled by default in p3. Had to remote build to get it on phone on win10.

Any clues on why Portrait mode is weird?

I saw a check in for FOV fix for upcoming portrait/landscape so hopefully that will be fixed in p4 or final (whatever is next) it did mention an upcoming hot fix so may even be 4.18.1

Hi! Thanks for this tutorial. Do you know how to add shadows on objects using 4.18 preview4?

Hey guys. You need to change material type to post process. just easy as that.

Why am I getting a green feed after using the material function? Did I do something wrong here?

I don’t know if it’s because of the 4.18.3 hotfix, or not - but if you remove all video feed backgrounds cube that you’ve created (based on Epic/Apple’s documentation for implementing ARKit, this is what you were supposed to do) - it actually works for portrait and landscape. So actually - you don’t need anything but a player with a camera that does hit tests. No need for fixes for color and stuff, too. Tested on iPhone 8 with iOS 11.2.2 and UE4.18.3

@ thanks! I got closer but now I can’t see any game objects once the ARKitMaterial is applied to the camera as a post process. Without the post process I still get a black screen in 4.18.3

@nicksava do you still have this issue? I would double check permissions (e.g. additional plist data) and other settings in project settings involving AR and mobile.