Augmented Reality for UE4

Hi Li,

According to this link:

seems like if you are compiling your app against the new iOS SDK 10, you need to add an extra key/value pair to your info.plist file to have camera access.
(If you are using the previous iOS 9 SDK, like I do the app will work on both iOS9 and iOS 10 without the extra key/value pair)

Add permission in info.plist file base on your error log.

NSCameraUsageDescription

<key>NSCameraUsageDescription</key>
<string>$(PRODUCT_NAME) camera use.</string>

In UE4 ->Project settings -> iOS there is an extra PList data field, where you can add the text above.

How is it that most of the projects here are more impressive than any games from major developers? I’ve seen more innovative ideas here than in the past 10 years playing games.

I added these strings to UE4 ->Project settings -> iOS,and now i can my app in iphone but it proves an error log in screen show that “webcam init failed”.

Hi Li,

Did you get any error message in your output log ?
(I am using this free app to debug iOS errors, https://lemonjar.com/iosconsole/)

The log you sent me in email was the build log, but to debug run-time erros I need to see your output log.

Hi ,
I’ve got the same issue in android and there is the debug log file
Thanks.

Hi Li,

Error (2): unable to open camera parameters file “/storage/emulated/0/UE4Game/Android_AR/Android_AR/Content/ARToolkit/Data/camera_para.dat” for reading.

This file isn’t copied to the right place during the packaging process. It happens on Android if you pack everything into the .apk file. Make sure to enable packaging the content data to .obb file.

Go to Project settings -> and uncheck Use Pak File, Generate Chunks, Include Prerequisites and Package .pak in APK

Hi ,

I have bought the commercial license for commercial project.
when i clicked on the download button to download the latest version v1_6R2,it said that “Sorry, you have reached your download limit for this file Go to homepage”
did it mean that i should buy it again?
I can provide the order details

Hi ,
Thank you for your patience.
Now I can successfully run my Android projects with the solution that you provide to me,but this solution cannot work on iOS.
There is the log file.

Hi guys

I bought the plugin this week to make a presentation of the project and began studying how and what to do. I did exactly what is recommended on the site. I created a project with the 4.13 version without any associated template and C ++. I did the setup for Android and copied the folders into the project. He created the necessary dll and opened the project, only that always appears this message.

&stc=1

What can it be? How to fix?

Thanks.

Hi,

Can you please check if you have this file on your phone ?
/var/mobile/Containers/Data/Application/6AAE9DAC-156D-4229-901D-37A8BE516FA2/Documents/artext3/content/artoolkit/data/camera_para.dat

It’s missing according to the log.

In your project settings -> packaging there should be an “Additional non asset directory to copy / package” option -> Add YOUR_PROJECT_PATH\Content\ARToolkit\ to it.

Hi Damien,

Can you try to re download the file and copy it again ?

Honestly I’ve never seen this error before.

Hi ,

Thanks for you feedback, I downloaded again and runs smoothly. But I have a doubt that you can help me. Is there any limitation of number of objects in the scene? I’m working on the motorcycle scene. I removed it and replaced by my objects, except that there are more than one, actually more. I am doing a board with pieces like chess. When do apk and abrilo try the mobile gives me an error regarding webcam.

Webcam int error!

You can help-me?

Thanks

Cool Thanks ,

As Long as I follow this process Verbatim it works!

Hi guys,

I have a S6 and made an application to the Unreal4ar and works perfectly on my phone. I took this application to my office, where I have a S6 like mine, only this second I get the following error message.

**Webcam int error

**What can it be? The phone has nothing installed outside this application I made. I have to have that application running on this phone, can someone help me?

Thanks

Hi ,

I posted on the forum couple of weeks ago asking for help with Webcam streaming. I am sorry I had disappeared for a bit due to work and could not reply to your responses. I am back now and having a look at your stuff. Seems absolutely incredible.

, I am completely new to Unreal. For a project I learnt Unity and after developing the proof of concept, I realised, Unreal is probably the better way to go for this one project. You stuff is amazing but completely complex for me. Is it possible for you to give me step by step procedure for me to load it in to Unreal? Please any help would be much appreciated.

Regards,
Sameer

Hello, , thanks for this wonderful plugin.

I have managed to get the advanced demo project working and had just a minor question. How is the webcam resolution set? On my laptop I get a 640x480 (the default values, I believe) but this resolution is strangely halved on my phone (320x240) which is a Galaxy S7. Clearly this is not the phone’s camera native resolution and I’d love to know if it is possible to increase it to something like 720p or above. Thanks a lot!

Hi ,

I’ve gotten this plugin working perfectly except for one small hitch. I’m using the camera position based method to project a model of a house on the markers. Its working fine, except the house is modeled at house scale so its rather huge and takes up most of the screen even on a small marker. Is there any way to make the projected mesh appear smaller without actually translating/scaling any of the house geo?

Hi ,

Make sure to have both .obb and .apk files, and install the app using the generated .bat file.

Webcam init error is because of missing files.

Hi Sameer,

Check out the link below:
http://www.unreal4ar.com/documentation/

FULL:
http://www.unreal4ar.com/getting-started-full-version/

DEMO:
http://www.unreal4ar.com/getting-started-demo/

I hope it helps!

Hi,

Please find the docs for changing mobile resolutions:
http://www.unreal4ar.com/mobile-video-resolutions/