AR Foundation & Unity 02: Setup for iOS

  Рет қаралды 54,179

Dinesh Punni

Dinesh Punni

Күн бұрын

Пікірлер: 71
@yizhouchen3297
@yizhouchen3297 5 жыл бұрын
Thank u! It's really nice. And basically I have no experience in building ios app, and when I was trying to display it on the phone, Xcode released lots of errors. Could you pls put the link as mentioned in the video? Thank u.
@blok1
@blok1 2 жыл бұрын
Great video Dinesh, followed this and when deployed to iphone the cube shows but the background is black. What am I doing wrong?
@luketechco
@luketechco 2 жыл бұрын
I have the same issue
@orangecat6807
@orangecat6807 3 жыл бұрын
Thank you! Nice watching it until I realized I don't have a Macbook. But still grateful :3
@DineshPunni
@DineshPunni 3 жыл бұрын
haha no worries, there is a video for Android as well! kzbin.info/www/bejne/Zp7TpJyFZ9F2rpI
@stefanroth328
@stefanroth328 Жыл бұрын
I finally managed to deploy this stuff to my iPhone-12-Pro. When I launch the app, it very shortly shows the cube for a glimpse and then shows the (dynamic) camera picture. The cube has disappeared then. What am I missing out?
@younglee4442
@younglee4442 4 жыл бұрын
This is very helpful tutorial! I also have error appearing when I try to run the exported unity file on my iphone. Where can I find the tutorial for the xcode?
@DineshPunni
@DineshPunni 4 жыл бұрын
Unfortunately with building for iOS it‘s a bit more complicated. Definitely check out the official Apple Documentation on provisioning and signing your app
@bradb5129
@bradb5129 3 жыл бұрын
I have this same problem and I can't find any documentation on it. Do you have anything I can do?
@EL_IQBAL
@EL_IQBAL 3 жыл бұрын
my build extension is not .xcodeproj but .pbxproj , and it can't be open immidiately but need an application for open it, please help. what should i do?
@clairesong3341
@clairesong3341 4 жыл бұрын
It's great! But I meet some problems :( I follow all your steps and I can build it in xcode successfully, but I cannot open the app on my phone. When I click it, the screen is black and the app quits immediately. Could you help me?
@TheAntimon13
@TheAntimon13 4 жыл бұрын
I have exactly the same issue. Maybe some changes to AR Foundation recently?
@anshumkhandelwal7541
@anshumkhandelwal7541 4 жыл бұрын
I have the exact same issue, were you able to resolve please?
@tesselliot3388
@tesselliot3388 4 жыл бұрын
@@anshumkhandelwal7541 I fixed this by updating my phone to 13.4.1
@Kryptstar_mack
@Kryptstar_mack 3 жыл бұрын
Hey Dinesh, I got the app to open, but the screen is black, all i can see is the white sphere in the middle...
@DineshPunni
@DineshPunni 3 жыл бұрын
You should see a popup that asks for camera persmission. Unfortunately it only shows up in the first startup. If you didn't accept it you may want to reinstall the app
@rishikaul22
@rishikaul22 4 жыл бұрын
Can you add a button on a ViewController to open a unity AR screen?
@DineshPunni
@DineshPunni 4 жыл бұрын
Do you mean from within an native iOS app or from an Unity created iOs app? There is some native integration for adding Unity scenes as a library, but it‘s not published yet.
@rishikaul22
@rishikaul22 4 жыл бұрын
Yes, from within a native iOS app
@xdboy500
@xdboy500 2 жыл бұрын
Hey @Dinesh Punni, do you recommend the AR Template from Unity for making IOS games? Because the video is from 2019 and I am not sure, if this template already existed, while you was making this video.
@DineshPunni
@DineshPunni 2 жыл бұрын
Heyhey back then the template didn't exist. I haven't used to to give you a definitive answer on that but since it's an official Unity template I'd assume that it's a good decision. Just try it out and if it works fine than there is no reason not to use the official Unity AR Template.
@DextraVisual
@DextraVisual 2 жыл бұрын
How do you refresh the session?
@mohammadrasoulfard-habibi3066
@mohammadrasoulfard-habibi3066 4 жыл бұрын
Great tutorial buddy. I've got a question. Will depth sensors on phone camera's be important in the future for augmented reality apps? As I'm about to buy a new phone for augmented reality development.
@DineshPunni
@DineshPunni 4 жыл бұрын
Hey Mohammad, thanks for the comment! Highly appreciated :) I think depth sensors will play a big role in AR, since they allow you to have much better AR experiences.
@mohammadrasoulfard-habibi3066
@mohammadrasoulfard-habibi3066 4 жыл бұрын
@@DineshPunni Sweet buddy Samsung S20 plus it is then, I was going to get a pixel but 4 doesn't have a depth sensor. Are you doing any more augment reality tutorials? There are the best I've seen if I'm honest absolutely smashing it bro.
@blabberbytes9967
@blabberbytes9967 3 жыл бұрын
How do you get the app other phones? I'm trying to develop an ar experience for the public.
@jessicaoreilly9260
@jessicaoreilly9260 5 жыл бұрын
Thank You. This was great.
@loransalabood3386
@loransalabood3386 3 жыл бұрын
It is surprising to me that you have this lesson for IOS for free on KZbin but it is not there on your paid platform!
@DineshPunni
@DineshPunni 3 жыл бұрын
In the AR course, there is a link that points to this video, when I talk about iOS development. Hope you enjoy the course so far. If you have any questions just let me know!
@nithinkashyap7242
@nithinkashyap7242 2 жыл бұрын
Hi First of all great tutorial hats off to ua commitment I created the experience as u created in the tutorial but when I push it to the mobile I am getting the black screen along with the cube. It's not asking for any permission as you said in one of the comments.
@DineshPunni
@DineshPunni 2 жыл бұрын
Go to: Edit > Project Settings > XRPlugin-Management and then check the box for 'AR Core'. This should fix the black screen. You might also need to enable permissions on your phone.
@RooJJu
@RooJJu 4 жыл бұрын
Hi ! I managed to make it working playing with the size of the gameobject ! But when I want my object to appear really closed to the camera, it slides with the movement of my camera. Do you have any idea how to solve this problem. I think it has to do with the distance with the camera but I’ve seen many videos in which objects appear mid-air right in front of the camera and the tracking is perfect..
@DineshPunni
@DineshPunni 4 жыл бұрын
You can change the camera clipping plane on your ARCamera gameobject
@RooJJu
@RooJJu 4 жыл бұрын
Dinesh Punni thank you ! I solved it by changing the scales of the gameobject, the smaller he is the better it appears
@anishpihakote9318
@anishpihakote9318 4 жыл бұрын
Hello, I followed your tutorial but my cube doesn't seem to be placed like yours. It moves around with the phone and is not stable in one place
@DineshPunni
@DineshPunni 4 жыл бұрын
This could be do to your phone. The stability of the tracking also depends on the phone. What phonr did you use?
@anishpihakote9318
@anishpihakote9318 4 жыл бұрын
@@DineshPunni I am testing it on an iPad . I just figured it out. Thanks for the tutorial and the reply, really appreciate it.
@RooJJu
@RooJJu 4 жыл бұрын
Anish Pihakote Can you please tell us how you figured it out ?
@anishpihakote9318
@anishpihakote9318 4 жыл бұрын
@@RooJJu ​ RooJJu Hi, Like @Dinesh Punni said in his reply, it was to do more with the Hardware. I found out the company I was developing it for did not have an iPad that had an A9 or A10 chip in it. So it did not support the tracking feature. So, instead, I had to look for alternatives like Vuforia and other measures that helped me override the problem. One of the measures is from this: stackoverflow.com/questions/45528366/not-able-to-install-my-arkit-supported-app-in-iphone-6-but-demo-app-by-apple-is
@RooJJu
@RooJJu 4 жыл бұрын
Anish Pihakote Thank you ! I have this problem with the Iphone 9, I will try with the latest iPad
@macrowaves624
@macrowaves624 3 жыл бұрын
WHere is the IOSBuilding link?
@nannaceciliehansen168
@nannaceciliehansen168 3 жыл бұрын
Hi Dinesh, When I click "build" and create a new folder for "builds" my Mac only allows me to choose (and not save) that folder. It does load for a little bit but the folder is empty once I open it. Any suggestions to what I am doing wrong? Thank you for a great video :)
@juliavasquez9001
@juliavasquez9001 2 жыл бұрын
Is missing in the video but when you click on Player Settings yo have to go to XR Settings and enable "Vuforia Augmented Reality"
@blubariblub6960
@blubariblub6960 4 жыл бұрын
Do you really need a mac to do this ?
@DineshPunni
@DineshPunni 4 жыл бұрын
For iOS officially yes. There are some workaround with Windows as well however, but haven't got them working smoothly yet
@LorsenHerisdersen
@LorsenHerisdersen 5 жыл бұрын
Thank you so much!
@AdamTeale
@AdamTeale 4 жыл бұрын
Thank you! Great tutorial!
@DineshPunni
@DineshPunni 4 жыл бұрын
Thanks! :)
@volgalgzkaradagoglu
@volgalgzkaradagoglu 2 жыл бұрын
Hi, the app does not use camera. All I see is white cube on black screen. IDK what did I do wrong
@DineshPunni
@DineshPunni 2 жыл бұрын
Which version of Unity and AR Foundation are you using?
@nithinkashyap7242
@nithinkashyap7242 2 жыл бұрын
Even i have the same issue. Can you do let me know if its working fine with any updates
@heekyung622
@heekyung622 2 жыл бұрын
@@nithinkashyap7242 Hi I had the same issue and I solved it by going into unity > edit > project settings > XR-plug-in Management > ios > and then make sure the ARKit in plug-in-providers is checked/selected! After that if you build again, the app will ask for camera permission! I hope this works!
@raulpetre8062
@raulpetre8062 Жыл бұрын
@@heekyung622 Thank you so much, this comment saved me
@davidtorres5012
@davidtorres5012 3 жыл бұрын
Thanks a lot ! I
@DineshPunni
@DineshPunni 3 жыл бұрын
You are welcome!
@IFLocation-2025
@IFLocation-2025 3 жыл бұрын
Thank you for this!
@DineshPunni
@DineshPunni Жыл бұрын
I'm glad I could help you! 💪
@marinette4032
@marinette4032 4 жыл бұрын
I can not find my package manager in unity 2017 !!
@DineshPunni
@DineshPunni 4 жыл бұрын
Try using Unity 2019! :)
@marinette4032
@marinette4032 4 жыл бұрын
@@DineshPunni I'm using unity 2018 thank you so much
@j.b.594
@j.b.594 5 жыл бұрын
1:00 I'm using an hackintosh
@DineshPunni
@DineshPunni 5 жыл бұрын
haha that's an option as well of course ;)
@JahTubeYT
@JahTubeYT 4 жыл бұрын
Would using a virtual machine tool work as well?
@RobinPStromberg
@RobinPStromberg 5 жыл бұрын
Hi, great tutorials! I have a question: I watched the keynote Unity held at GDC 2019 (kzbin.info/www/bejne/eoa4pZt6pc56n6M) and it looked like it is possible to edit stuff remotely, cross platform in real time, using AR Foundation. Do I understand this correctly? What I'm really wondering is if it is possible to follow along this tutorial on a PC, build the project and transfer the file to a mac with Xcode, from Xcode bulid the app to an IPhone and after that remotly (wireless) iterate the app from the original project on the PC?
@DineshPunni
@DineshPunni 5 жыл бұрын
Hey Robin, yea that's indeed something that Unity plans to do and i'm super excited about it! Can't wait once the feature will be realeased. Once it does, i'll make a video on it for sure!
@RobinPStromberg
@RobinPStromberg 5 жыл бұрын
Looking forward to that. In the meantime, do you know of any way to preview your work in the editor using a webcam with AR-foundation?
@DineshPunni
@DineshPunni 5 жыл бұрын
@@RobinPStromberg I know that it's possible with ARKit but as far as I know, there is no feature yet to get a preview. There was something like that announced in project M.A.R.S but I haven't checked it out yet.
AR Foundation & Unity 03: Image Tracking
12:12
Dinesh Punni
Рет қаралды 127 М.
Exporting Unity3D+Vuforia for iOS devices
17:22
Electronic and Time-Based Art Purdue University
Рет қаралды 64 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 18 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 57 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 108 МЛН
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,8 МЛН
Get Started with AR in Unity in 6 minutes!
6:59
Novaborn
Рет қаралды 132 М.
Comparing Top Five 3D Scanner Apps | Photogrammetry VS NeRFs VS LiDAR
9:40
JackIsBuildingKIRI
Рет қаралды 154 М.
Unity Remote on iPhone With Windows PC (WORKS)
5:55
Online Code Coaching
Рет қаралды 63 М.
Cross-Platform AR in Unity! - AR Foundation Overview
3:42
Creating Augmented Reality Posters Using Adobe Aero
9:15
Solopress
Рет қаралды 39 М.
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 18 МЛН