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”.
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
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.
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.
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.
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.
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?
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.
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!
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?