No video

Niantic Lightship ARDK Tutorial - Getting Started With Unity

  Рет қаралды 13,206

Dilmer Valecillos

Dilmer Valecillos

Күн бұрын

In today's video I go over creating and configuring a Unity AR Project by using Niantic Lightship ARDK tools. We cover the following Lightship ARDK features:
👉AR Session
👉AR Session Manager
👉Capability Checker
👉Android Permission Requester
👉AR Plane Renderer / AR Plane Manager
👉Mockup Environments
👉iOS vs Android Build Settings
Disclaimer: This tutorial is not for M1 users, if you are developing on M1 Macs be sure to apply the ARDK Patch available at 👉 lightship.dev/docs/troublesho...
📌 GitHub project shown in this video can be cloned from: github.com/dilmerv/ARDKLights...
📌 Download the ARDK and ARDK Examples shown in this video from:
lightship.dev/products/ardk/
Note: This video is NOT sponsored by Niantic, instead it was created to help XR developers in making better decisions when deciding on what toolkits to use when building AR experiences.
📌 Support me by Subscribing to avoid missing future videos!
/ dilmerv
📌 Support me in Patreon so I can keep doing stuff like this for free!
/ dilmerv
📌 Get XR & game development tips from me in Twitter
/ dilmerv
🥽 Learn & Get my XR Training from:
www.learnxr.io
👉 My Blog / 🔥 Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io
#Niantic #AR #Unity

Пікірлер: 68
@dilmerv
@dilmerv 2 жыл бұрын
📌 GitHub project shown in this video can be cloned from: github.com/dilmerv/ARDKLightshipDemos 📌 Download the ARDK and ARDK Examples shown in this video from: lightship.dev/products/ardk 💡 For further questions let me know in the comments thanks.
@cagatayduru3545
@cagatayduru3545 2 жыл бұрын
So much thanks for this video this will be very helpful for our future project hope to see other episodes
@dilmerv
@dilmerv 2 жыл бұрын
You are very welcome and yes many more episodes coming your way 🙏 Thanks for your interest :)
@RichardBaileyrichoncode
@RichardBaileyrichoncode 2 жыл бұрын
Great video! Thank you Dilmer!
@dilmerv
@dilmerv 2 жыл бұрын
Thanks Richard and a lot more coming this week on Lightship ARDK !
@adamviaja
@adamviaja 2 жыл бұрын
Thanks for making this!
@dilmerv
@dilmerv 2 жыл бұрын
You are very welcome, thank you for your feedback !
@1453Teko
@1453Teko 2 жыл бұрын
Thanks really helpful
@dilmerv
@dilmerv 2 жыл бұрын
You are very welcome ! Thank you
@itayhilel2168
@itayhilel2168 2 жыл бұрын
Great vid
@dilmerv
@dilmerv 2 жыл бұрын
Thank you 🙏
@josemartinlopez99
@josemartinlopez99 2 жыл бұрын
Thanks ir was really helpfull
@dilmerv
@dilmerv 2 жыл бұрын
You are welcome Jose thank you !
@ethanwimsett
@ethanwimsett 2 жыл бұрын
Thanks man! Hey with iOS for horizontal plane tracking my object placement stayed at the same Y position, not actually touching the surface and see that's also the case for you. Works fine for vertical surface tracking. Anyone know why this is?
@nv7287
@nv7287 Жыл бұрын
# Scene hierarchy: 1. In the Unity Hierarchy window, right-click and select "Create Empty". 2. Rename the new object to "AR Placement Object". AR Placement Object - AR Hit Tester (added to AR Placement Object) - AR Cursor Renderer (added to AR Placement Object)
@nv7287
@nv7287 2 жыл бұрын
This is such a Help! - I wondered if there was a way to stop the Yeti being spawned in the objects in the room - to see if he fits in the space? but not able to be spawned inside my couch for example
@holofrenia8198
@holofrenia8198 2 жыл бұрын
Hi Dilmer. There is something is not clear for me. I have a Samsung Galaxy S7, so I have done AR with Arcore on it over the last 4 years. And I have followed your tutorial, but the camera background on my mobile is black, so it's not working. Do I have to install Arcore packages and activate the XR plug-in managment? I tried it already without and with ARCORE and the screen just renders the Yeti with a black blackground. I will try to merge lightship AR configuration with ARCore, but probably it's something easier that I'm missing? Thanks in advance. I highly appreciate your work.
@gregger5136
@gregger5136 2 жыл бұрын
Great Video. Thanks a lot. Could you make one on how to set up marker based AR with Lightship?
@dilmerv
@dilmerv 2 жыл бұрын
Thanks for your feedback Gregger and yes that’s the plan !
@agi-news
@agi-news 2 жыл бұрын
Hey Dilmer, Is this better than ARCore and Kit in terms of tracking and object permanence? or is it roughly the same? thanks!
@All_About_Portfolio
@All_About_Portfolio 2 жыл бұрын
Very Very useful and informative video...! what about a Game series using Lightship ARDK?
@dilmerv
@dilmerv 2 жыл бұрын
Thank you and I love the idea, stay tuned for more 🙏 !
@nicolasportu
@nicolasportu 2 жыл бұрын
Hey! Is posible to create a character controller in AR? What about NPCs? Thanks!
@aasavravi5919
@aasavravi5919 Жыл бұрын
Hi Dilmar, thanks for the tutorial, for the ARDK Auth config, which is inside the resources folder, in ARDK, for the IoS, what type of file is it? Because i am not getting the right click > ARDK > ARDKAuthConfig selection in the drop down menus. I have only one ARDK AuthConfig inside the ARDK folder in the main project file. Also, this error is coming , which i guess is due to niantek lightship not importing and initializing "Assets\AlphabetMovement.cs(9,7): error CS0246: The type or namespace name 'MyNamespace' could not be found (are you missing a using directive or an assembly reference?) "
@Zexorii
@Zexorii 2 жыл бұрын
I'm waiting for next videos.
@dilmerv
@dilmerv 2 жыл бұрын
Very soon thank you ! I am planning on releasing a new one this week.
@Zexorii
@Zexorii 2 жыл бұрын
@@dilmerv I think lightship gave us more features than ar fundation. I had an issue when i tried build app on android device i must set up target API to 29 its Android 10
@tobiasp.6717
@tobiasp.6717 11 ай бұрын
hi, cool video. Is there any way to save the spatial position of the objects for later sessions?
@dilmerv
@dilmerv 11 ай бұрын
In that case you could need to use VPS, take a look at this documentation: lightship.dev/docs/ardk/vps/authoring_wayspot_anchors.html great question!
@deadman1999
@deadman1999 2 жыл бұрын
Can you tell me, when is the part 2 of Google Cloud Anchors using AR Foundation is scheduled for? That would be much appreciated!
@dilmerv
@dilmerv 2 жыл бұрын
Thanks for your interest, I am not actively looking at it just yet, more likely in a few months unless something else comes up. I appreciate your feedback.
@chivuchivu
@chivuchivu 2 жыл бұрын
Hey Dilmer, two question: I installed all 4 packages from Niantic, but I don't have any mockupscene (your video at 4:58). Any thoughts? Plus, I tried to build and run on android and it keeps saying on my device that it needs Google Play Services for AR, which already has installed. It is strange since I have used ARCore without any problems before.
@chivuchivu
@chivuchivu 2 жыл бұрын
@@chidambaramsankarasubraman3380 Thanks man. But, no luck for me, it didn't work. The app is still running though, once I skip the warning like 3 times.
@magus64
@magus64 2 жыл бұрын
Hello, I don't know if you're still looking into that but for the mockup scene: the ARDKMockEnvironments has a Living Room prefab (LivingRoom) which functions the same way as the mockup scene shown in this video.
@pinate
@pinate 2 жыл бұрын
a great new SDK......by the way, what kind of device is that (with spacesuit photo on it)?
@dilmerv
@dilmerv 2 жыл бұрын
That’s the looking glass portrait which you can get more info about it here lookingglassfactory.com/ Great question thanks !
@VirInter
@VirInter 2 жыл бұрын
So much thanks for this video! I installed ARDK 2-00. Unity 21. I have no choice "AR Hit Tester", "AR Cursor Render" add components ARPlacement. Why?
@mohammadsirajuddinrayyan8646
@mohammadsirajuddinrayyan8646 2 жыл бұрын
I think you also need to import ARDK examples which holds additional scripts thats required....like AR Hit Tester
@kiing_ot
@kiing_ot 2 жыл бұрын
Hi Dilmer, could there be a specific reason why I am getting this warning on the planefinding shader "Unlit/PlanefindingGrid shader is not supported on this GPU (none of subshaders/fallbacks are suitable)"? I use an RTX 3070 by the way
@dilmerv
@dilmerv 2 жыл бұрын
Are you currently in windows ?
@kiing_ot
@kiing_ot 2 жыл бұрын
@@dilmerv Yes
@eylonedri
@eylonedri 2 жыл бұрын
I had the same error, the solution is to open the PlanefindingGrid Shader (in the Assets/ARDK/Extensions/Planefinding folder), and comment (as in add "// " in the beginning of) the 25th line which is "#pragma exclude_renderers d3d11", don't forget to save.
@nv7287
@nv7287 2 жыл бұрын
@@eylonedri Thanks so much xox works now!!!!
@WingofTech
@WingofTech 2 жыл бұрын
Would you recommend using ARDK over pure iOS AR Kit? I’d really like to start working on it but I don’t know where to start. What will be supported longer-term? 🤔
@BUdJohnson242
@BUdJohnson242 2 жыл бұрын
depends, do you see yourself working just in the Apple ecosystem? If not, then Unity would be better choice to start. Also, this is my 2 cents, if you're just starting, recommend getting started with Unity and going through all of Dilmer's videos.
@WingofTech
@WingofTech 2 жыл бұрын
@@BUdJohnson242 Of course, good points. I’ve been working with unity for a little. Android is a good place to be. Thanks! Are there other SDK’s that make cross-platform AR development less troublesome?
@dilmerv
@dilmerv 2 жыл бұрын
I agree with Sharm, it depends on your use cases. I would recommend evaluating AR Foundation which is also cross platform, ARDK, and Vuforia.
@WingofTech
@WingofTech 2 жыл бұрын
@@dilmerv Thank you for the recommendations! Yeah it would mostly be prototyping for future projects but I’d like to learn what will be most stable.
@naomim8139
@naomim8139 2 жыл бұрын
Hello I downloaded all 4 packages but I don't have the mockup scene. Any suggestions about how to fix this?
@dilmerv
@dilmerv 2 жыл бұрын
Hello and thanks for your time and feedback. Did you download the “ARDK Mock Environments” and import it into Unity ? Let me know thanks
@naomim8139
@naomim8139 2 жыл бұрын
@@dilmerv Hello Dilmer. Yes I imported the "ARDK Mock Environments" into Unity. In the folder I see materials and models, but not a scene called mockup. I downloaded the "ARDK Mock Environments" from the downloads sections under the resources topic from the Niantic website. Let me know if I downloaded the correct one.
@magus64
@magus64 2 жыл бұрын
@@naomim8139 Hello. In the ARDK Mock Environments package there is a prefab called LivingRoom which functions the same as the Mockup Scene shown here in the video. You can drop the Living Room prefab on the Hierarchy and eveything should work the same.
@FunAndEntertain-u9t
@FunAndEntertain-u9t Жыл бұрын
hey Dilmar i followed your video but when i build it and play it on Android mobile it shows black screen there is no output of world just black screen please it for my uni project
@dilmerv
@dilmerv Жыл бұрын
Did you enable the ARCore plugin in Unity ? Are you using URP ? If so you need to add a render feature for the AR background.
@FunAndEntertain-u9t
@FunAndEntertain-u9t Жыл бұрын
@@dilmerv thank you so much for replying i used urp and it worked
@jakedrex5274
@jakedrex5274 2 жыл бұрын
can someone pls tell me why my whenever i sprint it just stays sprinting and never stops public CharacterController controller; public float speed = 10f; public float gravity = -9.81f; public float jumpHeight = 3f; public Transform groundCheck; public float groundDistance = 0.4f; public LayerMask groundMask; Vector3 velocity; bool isGrounded; public bool isSprinting = false; public float sprintspeed = 20f; // Update is called once per frame void Update() { isGrounded = Physics.CheckSphere(groundCheck.position, groundDistance, groundMask); if (isGrounded && velocity.y < 0) { velocity.y = -2f; } float x = Input.GetAxis("Horizontal"); float z = Input.GetAxis("Vertical"); Vector3 move = transform.right * x + transform.forward * z; controller.Move(move * speed * Time.deltaTime); if (Input.GetButtonDown("Jump") && isGrounded) { velocity.y = Mathf.Sqrt(jumpHeight * -2f * gravity); } velocity.y += gravity * Time.deltaTime; controller.Move(velocity * Time.deltaTime); if (Input.GetKey(KeyCode.LeftShift)) { isSprinting = true; } else { isSprinting = false; } if (isSprinting == true) { speed = sprintspeed; }
@Thurtwings
@Thurtwings 2 жыл бұрын
your speed value (10f) change for the sprintspeed value (20f) and stay at this, add speed = 10f; in your else statement
@dilmerv
@dilmerv 2 жыл бұрын
Thanks for answering this question !
@Thurtwings
@Thurtwings 2 жыл бұрын
@@dilmerv thanks for thanking me! haha
@riyaska4951
@riyaska4951 2 жыл бұрын
Dilemer, I am new to to AR and VR. Could you please guide me from which playlist of your videos I should start and progress further? PEACE :)
@dilmerv
@dilmerv 2 жыл бұрын
Riyas how are you and thanks for your support ! As far as a training path, I would recommend to look into my Playlists and pick the one that matches your interest, I have some on AR, MR, VR, and honestly I try to cover as much as I can with videos every week. The easiest way to learn is to just start a project, pick a simple game you want to build in VR and just build it, then as you build your game you can watch some of my tutorials to help you finish the game. The key is to always make something simple but make sure you finish it. Couple of things to get started with: AR/VR/MR theory type topics: kzfaq.info/get/bejne/r56Ci9xyp7OpqoU.html Oculus Quest 2 Dev videos: kzfaq.info/get/bejne/j912i7SWp9Pcimg.html HoloLens2 Videos: kzfaq.info/get/bejne/rbmAi7eDvt7VaXU.html Mixed reality experiments: kzfaq.info/get/bejne/qJ6KqLqApq_Dg2g.html For AR Foundation series: kzfaq.info/sun/PLQMQNmwN3FvzCWfvCvq2AYh1CFnTlv2Es For AR look at this series to create a simple game: kzfaq.info/get/bejne/oZiSo6yJ393Hh3U.html Hopefully that helps you, also always keep an eye on my twitter where I normally tell people what's coming next twitter.com/Dilmerv or GitHub where I publish all the demos github.com/dilmerv
@riyaska4951
@riyaska4951 2 жыл бұрын
@@dilmerv I am good Dilmer. Thanks for the guidance. I will follow the same. I will be in touch. Please guide when ever I need ya suggestion. PEACE :)
@hareshbabuveldurty8110
@hareshbabuveldurty8110 2 жыл бұрын
Thanks Dilmer. Appreciate the content you provide. I tried this it working perfect in editor but when i run on Android devices I am getting this weird "Google play services for AR" dailog and it seems like updating the google AR services but dailog not going away..Any idea to resolve this. Thanks in advance
@dilmerv
@dilmerv 2 жыл бұрын
This could mean you are missing ARM64 or the minimum API selected is not the correct one. I would suggest cloning my repo from GitHub and testing it out, if it works then you can find what the difference is between your project and mine. GitHub repo 👉 github.com/dilmerv/ARDKLightshipDemos
@hareshbabuveldurty8110
@hareshbabuveldurty8110 2 жыл бұрын
@@dilmerv Hi Dilmer Thanks for the reply. Still facing "Google play services for AR" dialog even when I am using your repo project. My device in Pixel 3XL with Android 12. I tried in Unity versions 2020.3.14f1 and 2020.3.29f1. Also the minimum Api is 24 and both ARMv7 and ARM64 is checked.
@sydneyochieng6244
@sydneyochieng6244 2 жыл бұрын
Hello, there's an update in the lightship docs on this matter. Google enforced a limit on what you can query about other apps on the device. So in this case there is a separate way to build for API Level 30 and above. Check out this link for detailed info lightship.dev/docs/ardk/ardk_fundamentals/building_android.html#doxid-building-android
Niantic Lightship ARDK Tutorial - Introduction To Meshing
18:10
Dilmer Valecillos
Рет қаралды 4,6 М.
The Basics: Getting Started with Lightship
21:41
Lightship AR
Рет қаралды 16 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН
Iron Chin ✅ Isaih made this look too easy
00:13
Power Slap
Рет қаралды 36 МЛН
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 29 МЛН
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 519 М.
УМНЫЕ ОЧКИ - ОБЪЯСНЯЕМ | MWC 2023
16:04
Droider
Рет қаралды 422 М.
Nature's Incredible ROTATING MOTOR (It’s Electric!) - Smarter Every Day 300
29:37
Building with Lightship Maps (AWE 2023)
29:18
Lightship AR
Рет қаралды 1,1 М.
Inside Mark Zuckerberg's AI Era | The Circuit
24:02
Bloomberg Originals
Рет қаралды 1,3 МЛН
How To Get Started With Niantic Lightship VPS In Unity
7:40
Dilmer Valecillos
Рет қаралды 7 М.
Geospatial Creator With Photorealistic 3D Tiles For Unity Is Here!
31:41
Dilmer Valecillos
Рет қаралды 27 М.
Getting Started With ARFoundation in Unity (ARKit, ARCore)
31:20
The Unity Workbench
Рет қаралды 458 М.
Useful gadget for styling hair 🤩💖 #gadgets #hairstyle
00:20
FLIP FLOP Hacks
Рет қаралды 9 МЛН