How to make an AR App: Setup Unity for AR Dev. (Unity + Lightship ARDK 3 tutorial)
HTML-код
- Опубликовано: 15 сен 2024
- Thanks for watching my journey. I want to build the most exciting AR Experiences including Games, Movies and usefull Apps. My background is mainly in 2D / 3D Animation using Blender and After Effects, but I always loved the idea auf Augmented Reality. Furthemore I liked to code. So in late 2022 I decided to learn Unity and get deeper into AR Software Development. Let's see how far we can come :)
If you like my tutorials and videos on XR, you can support me here:
www.paypal.com...
Unity:
unity.com/de
Lightship:
lightship.dev/
lightship.dev/...
community.ligh...
Gradle:
gradle.org/rel...
How to setup Unity to build a LightShip App to your iOS / Android device:
lightship.dev/...
How to setup your iOS device for building:
- under settings, choose privacy & security
- scroll down and activate Developer Mode
- once you install a app via Xcode in your iOS settings, search for developer and set yourself as a trusted developer
How to setup your Android device for building:
- Go to your settings
- Search for developer
- Enable developer options and USB debugging
docs.unity.cn/...
developer.andr...
3D Assets that are great for AR / VR purposes *:
Low Poly, Animated Dinosaurs:
assetstore.uni...
Low Poly, Animated Animals:
assetstore.uni...
Low Poly Junge:
assetstore.uni...
Low Poly Forest:
assetstore.uni...
Convert Terrain to Mesh (For Transforming a Terrain to view):
assetstore.uni...
Explorer Character Pack:
assetstore.uni...
*The given links are part of Unitys affiliate program
Note: Some of the images and graphics used are from FreePik. I own the rights / premium license to use those graphics.
Additional comments:
👉🏽Instead of importing the while ARDK-Samples folder, it is better to only drag in the "Assets" Folder from the ARDK Samples into your projects as otherwise you might receive some error message
👉🏽 As the ARDK3 is now fully released, all features are also available on Windows. When importing the sample package, there sometimes is a default error saying that SVG / Vector graphics are not found. You can solve it by going to Window -> Package Manager -> + -> Install Package via name and enter com.unity.vectorgraphics
Also, here is the most recent link to the ARDK3 Documentation / Setup:
lightship.dev/docs/ardk/setup/
Outstanding!
Glad you like it :)
Lets GO
You are the best! Please make more tutorials about ARDK3, you are a lifesaver! I'm new to AR and your tutorials help me a lot, Thank you very much!
Glad you find my tutorials helpful!
Thank you for the tutorial.
Assets\ardk-samples-main\Assets\Samples\Common\Scripts\SpriteToggler.cs(6,13): error CS0234: The type or namespace name 'VectorGraphics' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
Assets\ardk-samples-main\Assets\Samples\Common\Scripts\SpriteToggler.cs(16,13): error CS0246: The type or namespace name 'SVGImage' could not be found (are you missing a using directive or an assembly reference?)
How can I fix the problem? Please help me.
Hi mate :) You can go to the Packagemanager, then click the "+" on the top left and add package by name. Enter com.unity.vectorgraphics and click add. This should solve the issue :)
@@AliveStudios_ Thank you so much for your reply. Your video gives me so much strength.
@@user-kl2eu5jd8g I'm very glad you like it :)
Does your lightship Android-built application require Google AR Services?
Do you mean AR Core? Lightship builds upon the AR Core & AR kit plugins by Google & Apple and will install them as a dependency.
i got tons of errors, terribly i cant use it... dont even appear the Lightship tab
At what point in time do these errors appear? + Can you give a broad overview what these errors are about?
@@AliveStudios_ im on the discord Channel, i make a Bug, and fixed xD... Its a situation only happen on URP core with 3.0
@@Demisemæn So you're good now? Yeah I also had some issues with URP, I figured that upgrading to urp after installing everything as shown on the video is a solid solution..
Yeah, im just with 1 tiny bug (unfixable)...
Today i was in the Lightship presentation, and i dont know until now, we dont have support for XRenviroment, or Niantic Virtual studio.... D: Someone in the chat say he can.do his own, but idk...
Thank you for the tutorial. I receive this error after trying to add ARDKsamples:
Failed to load 'D:/UNITY/AR 01/Assets/ardk-samples-main/ardk-samples-main/ProjectSettings/XRSettings.asset'. File may be corrupted or was serialized with a newer version of Unity.
In case anyone fix this issue... ;)
Hi mate, yes you have a valid point here! The issue is that the ARDK samples are pretty much a Unity Project too! That's why it's better to just import the "Asset" Folder from the samples. That will do the same job :)
Thank you so much for your response!@@AliveStudios_
I have amended my file accordingly to your advices however, I am getting many new errors like when I try to buid and run on Android a ARDKsample scene:
UnityEditor.BuildPlayerWindow+BuildMethodException: 6 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002da] in :0
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in :0
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun ()
I did not get message before I add samples to my project but only a black screen on my phone after trying to run the app.
In case you could know why...