Geospatial Creator With Photorealistic 3D Tiles For Unity Is Here!

  Рет қаралды 26,329

Dilmer Valecillos

Dilmer Valecillos

Жыл бұрын

In today's XR video, we will look at Google's NEW Geospatial Creator tools for Unity, which allow us to use the power of Google's Maps Platform in conjunction with ARCore to place digital objects on photorealistic 3D tiles provided by Cesium.
📚 Geospatial Creator For Unity Chapters:
00:03 - Google's Geospatial Creator Introduction
01:23 - Geospatial Creator With Unity Prototype
02:07 - Enabling Google APIs Services
04:36 - Generating Credentials for Map Tiles API and ARCore API
05:00 - Creating your FIRST Geospatial Project With Unity (Installing ARCore Extensions and Cesium For Unity packages)
11:19 - URP Pipeline Configuration For AR Foundation
11:48 - Android Configuration
12:32 - iOS Configuration
16:53 - Finding an interesting location with Google Earth
23:29 - Geospatial Manager Code Overview
24:51 - Building to iOS (Xcode)
26:41 - API limits and cost
📙 Resources used or mentioned on the video:
- ARCore extensions package:
github.com/google-ar/arcore-u...
- Cesium Unity package:
github.com/CesiumGS/cesium-un...
- Get the Robot Hero : PBR HP Polyart from
assetstore.unity.com/packages... (Affiliate Link)
- To create Google Cloud budgets and alerts:
cloud.google.com/billing/docs...
- Geospatial Unity Demo Project shown on this video can be downloaded from:
github.com/dilmerv/Geospatial...
📌 Support me by Subscribing to avoid missing future videos!
/ @dilmerv
📣 Consider becoming a Patreon today:
/ dilmerv and GET MY “Full Source Code” Tier
💡 What do you get from Patreon ?
👉 Access to this video GitHub repo + all code I work on for each video
👉 Access to special Patreon discord group where I can answer questions
📌 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
#geospatial #googleio #unity

Пікірлер: 183
@dilmerv
@dilmerv Жыл бұрын
👨‍💻 Project available via GitHub at: github.com/dilmerv/GeospatialCreatorDemos 💡 Let me know if you have any questions about this tech or anything related to XR in the comments below thanks.
@rubenhekkens
@rubenhekkens Жыл бұрын
Thanks for the tutorial Dilmer! I've been trying to animate a model in GeospatialCreator. I was hoping to just manipulate its position by doing something "regular" like position.x += 1f; in the Update() function but this does not seem to work. Do you know how to do it?
@ericgilligan602
@ericgilligan602 11 ай бұрын
Hey Dilmer :D Back with another question.. cant seem to find the answer! :/ I was wondering if you need to load alllll the tiles. I wanted to load only a small section for my project ( 100x100m... You know how to limit the tiles loaded? Cheers
@z-time3291
@z-time3291 7 ай бұрын
what you drag and drop???'
@TerraQuaticaONG
@TerraQuaticaONG 6 ай бұрын
I´m sorry but at 8:37 I just can´t understand what you drag & drop. For me is not clear at all when you say "this" withput showing it. After that is quite difficult to followvyour tutorial. Could you or anybody else explain how and what is done? THX
@SweetVioletsMama
@SweetVioletsMama 4 ай бұрын
@@TerraQuaticaONG Having the same issue.. what was the folder??
@henryqng
@henryqng Жыл бұрын
Dilmer, thanks for another great video and the part that covers the iOS setting. Your channel is one of the few channels on YT that covers AR/VR on iOS in detailed instruction and development. I greatly appreciate your effort in putting these tutorials. Keep up the good work!
@dilmerv
@dilmerv Жыл бұрын
Hoai, thank you for your feedback it is much appreciated, if there is ever specific content you are looking for and can’t find it just let me know ! Best to you ! Dilmer
@ssabadell5596
@ssabadell5596 Жыл бұрын
Hi Dilmer, thank you for the great video, this isn't the first of yours that I have watched! They are very helpful. I am completing a course with XR Bootcamp and have started learning about the new Geospatial Creator tools. I am on a small team preparing a demo project to complete the course, and would like to focus on shade and shadow for a city. What we are finding so far is that Geospatial Tiles bring in 3D geometry, but the materials applied use an Unlit shader, so shadows cast on other buildings and the ground are not rendered by those materials. Do you have any suggestions for how we might support shade and shadow with the materials that are coming in with Geospatial Creator? Thanks!
@chrisvolonnino3567
@chrisvolonnino3567 Жыл бұрын
Hey Dilmer, in your video does your model that you import into the world scene occlude with the reset of the world? My objects always appear and aren't occluding behind buildings/tress etc..
@magicogabon
@magicogabon 6 ай бұрын
Dear Dilmer, thank you for the tutorial. However, I have a problem that I can't figure out, which is when you talk about the Geospatial Manager. Where can I find it? I don't understand the steps at that point. Thank you very much.
@dilmerv
@dilmerv 3 ай бұрын
You can download all the files from here github.com/dilmerv/GeospatialCreatorDemos and thanks for watching!
@nelomh
@nelomh 7 ай бұрын
Thank you!!!! Your video really helped me to made this work. Is even better than the one I found on Google Dev haha. Thank you for sharing your knowledge.
@dilmerv
@dilmerv 7 ай бұрын
Hehe that’s awesome to hear thanks for your feedback!
@RamirosLab
@RamirosLab Жыл бұрын
This is awesome!!! Thanks!!!
@dilmerv
@dilmerv Жыл бұрын
You are very welcome Ramiro, thanks for your feedback 🙏
@lukexie3449
@lukexie3449 Жыл бұрын
Hi I am having trouble that anchor are not correct, even I place the game object under the Anchor or create a Anchor script in the game object at the editor scene, but when I build,, the result is game object scale are become small and the transform are not the set into the correct spot.
@ericgilligan602
@ericgilligan602 Жыл бұрын
Hey Dilmer! Great tutorial as always :) Just a question ( I thought you were going to show us your salt lake city AR scene ) anyway.. I was testing this out over the last week and in my location I can get 3d tiles but the tiles are not full 3d buildings and only give an outline of the buildings when I open the app and tap on geometry. So not like the regular 3d buildings you can see on your projects.Basically its a 2d map that I can place things on but it makes it awkward to place things on ( accurately ) I dont know if you seen this or not as maybe the locations that you tried all have the proper 3d buildings. So my question is how can I place things accurately if the cesium only pulls a 2d map. I guess the only way is to place and go to the site? Any ideas ? Cheers :)
@dilmerv
@dilmerv Жыл бұрын
Hey Eric 👋 thanks for your feedback and you are right I didn’t show the scene in much detail 😅 On your question regarding 2D vs 3D tiles, I believe it had to do with the tiles support Google provides in your country, I would recommend checking this website which shows 2D vs 3D Tiles by country developers.google.com/maps/coverage but if 2D is the only option then I would need to look into it as I am not very familiar with that implementation. Thanks for your feedback.
@Pinkokinawa84
@Pinkokinawa84 8 ай бұрын
Thank you so much for the tutorial :) As always great video!! Do you know how we can test if I put an anchor far away from home in Unity? For example, if I add an anchor to the Eiffel Tower in Paris, is there only way to test this is going to the actual location, or could we test it from home?
@dilmerv
@dilmerv 8 ай бұрын
To be honest when testing I ended up simply using my own home address to make sure anchors where localizing correctly, to test on the actual sites I believe you would need to be there, perhaps make it available through TestFlight and invite others to help testing, I know this is not the best solution but I will look more into it to see if there is a better way. Thanks for watching!
@sharat.achary
@sharat.achary Жыл бұрын
Thank you for this amazing tutorial.
@dilmerv
@dilmerv Жыл бұрын
What Android device are you currently using? Also what’s the state of the geospatial information added to the UI? Thanks for your feedback !
@sharat.achary
@sharat.achary Жыл бұрын
@@dilmerv The device used for testing was Redmi Note 10 and it supports ARCore. The issue was caused because I overlooked following points: 1. Didn't enable the Development Build checkbox, as result the guard clause ( line 40 @ GeospatialManger ) used to return the control and nothing would execute. 2. Didn't enable a Master Toggle in the device settings which enabled Location Service for apps, even though the Location Service permission was enabled in respective app settings. Addressing these resolved and app is showcasing the gespatial experience. Currently fiddling with the Terrain and Manual parameters to get the Augmented Object floored, as of now its floating and sliding around the expected lat/long. Much thanks to you for such amazing content 🤝
@user-qi2tz6pw9x
@user-qi2tz6pw9x Жыл бұрын
question, for every new project your do, do you have to recompile the dependencies and switch on the api for unity and switch around your settings? or is there a certain way to go about doing this for a new and seprate geospatial project?
@dilmerv
@dilmerv Жыл бұрын
Not sure I understand your question. But for every new app in Unity you have to set it up with ARCore unless you create a Unity template and keep it updated for future projects.
@user-qi2tz6pw9x
@user-qi2tz6pw9x Жыл бұрын
@@dilmerv ok so basically I can store a template of unity that keeps all the Geospatial dependencies and settings ready to go correct? (im completely new to unity )
@vincentthomas8492
@vincentthomas8492 Жыл бұрын
Gracias! Do you know if it's possible to export in one way or another the geo and texture from 3dtile data Dilmer Valecillos?
@dilmerv
@dilmerv Жыл бұрын
Great question Vincent but honestly I don't know of a way yet to do so.
@ancoferrer
@ancoferrer Жыл бұрын
Thanks for sharing. Do you will make a video for Quest2 or Oculus ?.
@dilmerv
@dilmerv Жыл бұрын
You are very welcome and yes I have a variety of videos with both devices, check out my playlists, thanks for watching !
@kryptoidkryptonic8696
@kryptoidkryptonic8696 Жыл бұрын
Does anyone know where the fill API documentation for unity is for geospatial? All I can find is the quick start stuff, and I need to actually see full documentation to understand how there anchors are working, not just how to place them. But i cant find it anywhere! Also, does anyone know how to make ARGeospatialCreatorAnchors not occlude themselves if your to far away? Another thing that would be great if I could find proper documentation and API references. Our usecase really needs things to not occlude / disapear when further away from the anchor.
@juskartheek6486
@juskartheek6486 11 ай бұрын
8:48: HI Dilmer, I would like to know where I can get that controller file that you dragged and dropped in assets from another folder.
@dilmerv
@dilmerv 11 ай бұрын
The whole project is available from here: github.com/dilmerv/GeospatialCreatorDemos
@sharoseali708
@sharoseali708 5 ай бұрын
Can we add virtual objects while running the app ?
@z-time3291
@z-time3291 7 ай бұрын
dilmer bro, you use 2 screens and we only see 1, so, the demo you upload its your demo, uploaded twice, so i have no idea about what demo geospacial google do? because i dont know where is the file.. :c... if i copy your project, i dont learn nothing.
@XducationAI
@XducationAI Жыл бұрын
Hey Dilmer, I have actually done all the steps needed to ensure everything is working properly. but once I build it and run on android phone with the APK .... I am not able to run it. all I see is just empty buildings without any designs . It's brown in colour. Do we need to go down to the physical location for the app to run smoothly ?
@dilmerv
@dilmerv Жыл бұрын
Thanks for your feedback, and yes you do need to be at the physical location in order to make this work.
@bestbannersever
@bestbannersever Жыл бұрын
Hey dude, helpful video. Occluder, how do I make sure that objects are hidden behind builds, I cant seem to resolve the issue. Am I missing something?
@dilmerv
@dilmerv 11 ай бұрын
I will make a video about it next thanks for your feedback.
@bestbannersever
@bestbannersever 11 ай бұрын
@@dilmerv I look forward to it! Thanks
@AngryApple
@AngryApple Жыл бұрын
I found out that you can get to the free limit of the tiles api extremly fast so this is why I recommend turning the Geospatial Creator OFF when your geospatial anchor is set, dont let it run all the time because it loads new tiles when youre moving around the viewport. Also I couldnt find any info about the usage limit for the Streetscape Mesh.
@dilmerv
@dilmerv Жыл бұрын
That’s a good point, at the beginning I wasn’t doing so but later on yes I did the same thing 🙏 disabled the Geospatial components while I was working on the characters. I also found out that I can create about 20+ projects in Google Cloud, I hit a limit on 1 and ended up creating 2 more, this way I can cycle through them as I work through development.
@lukexie3449
@lukexie3449 Жыл бұрын
Hi, you mean turning the geospatial creator off is from the Unity? but when you turn it off the map is no longer rendering, then basically just for getting the anchor data right?
@AngryApple
@AngryApple Жыл бұрын
@@lukexie3449 You only need the map for positioning the anchor, for nothing else
@lukexie3449
@lukexie3449 Жыл бұрын
@@AngryApple Thank you
@cg-mmirca
@cg-mmirca Жыл бұрын
What about using the Bing Aerial imagery and OSM buildings? You can add them directly to the Origin Creator from Cesium. They seem to restrict only commercial use and don't ask for billing.
@thatOne873
@thatOne873 Жыл бұрын
hello! Im just wondering.. If I would like to show some objects in different location for example: Park - show grass and stuff Parking - show cars if its good to choose this approach or try to create something else with another tool? I mean this tool is right now free but later it will cost a thing.. many thanks for the info! : )
@dilmerv
@dilmerv Жыл бұрын
Yes having objects on different locations would work perfectly, you could test it out and learn a lot from it, I will be finding out what will be the cost very soon! Thanks for your feedback and time !
@AngryApple
@AngryApple Жыл бұрын
something like Mapbox could be the better solution here, its relatively easy to filter out streets, parks, water and so on. You can do a similar Geospatial thingy actually, but Google's VPS is more precise than just GPS alone which what Mapbox would use. But I done it and it works. But the Geospatial Api ist just waaaaaaay easier and straightforward
@yugokitamoto6893
@yugokitamoto6893 10 ай бұрын
Hello, I'm Japanese. I worked just like you, and there are two error message in 26:20... 「Framework not found ARCoreBase」「Linker command failed with exit code 1 (use -v to see invocation)」 Xcode 14
@borischen1111
@borischen1111 21 күн бұрын
me too ,did you fixed it?
@maksimshtok2577
@maksimshtok2577 7 ай бұрын
Hey Dilmer. I was trying to test Google AR Core Geospatial API on the ML2 but ran into a problem that it requires OPENGLS3 graphics, where ML2 requires Vulcan. Any workaround? Did you ever faced this and may be resolved?
@dilmerv
@dilmerv 7 ай бұрын
Great question, I haven’t tested it with a ML2 but I will next week as I am making a new video about it. Stay tuned and I will be able to answer your question, thanks!
@logzero3735
@logzero3735 7 ай бұрын
Ciao Dilmer Thanks for the overall amazing job you do with your channel. I'm fairly new to AR but your video is great., I followed along and reached the point where I deployed the apk and installed on my Samsung note 9. The app load is perfect and I've granted all the requested permission. Unfortunately, the Robot does not load or show up on the screen at the desired coordinates. Is there a possibility that I'm missing something? could it be a matter of a geolocalization permit or Google authorization?
@dilmerv
@dilmerv 7 ай бұрын
Hey thanks for your message and feedback, I recommend connecting your Samsung device to your computer via USB-C and pulling up the logcat viewer in Unity, you can download it through Unity’s package manager. More likely you are getting rejected or missing something small in the configuration.
@logzero3735
@logzero3735 7 ай бұрын
thank you@@dilmerv I will try that and let you know
@drawforever486
@drawforever486 Жыл бұрын
Great video, I have a small doubt , we are creating a geospatial creator orgin in the hierarchy then we are making the 3d model as its child, instead of this can we create a 3d object in the hierarachy and add geospatial creator orgin script to it and add the latitude and longitude ?? Would this be the same or cause variations
@dilmerv
@dilmerv Жыл бұрын
Thank you, to clarify this: you are creating a “Geospatial Creator Origin” and that component has its set of tiles under it, for your content you can create a “Geospatial Creator Anchor” and add your 3D model under it as a child or just add your 3D model to the hierarchy and add a “Geospatial Creator Anchor” as a component.
@drawforever486
@drawforever486 Жыл бұрын
Thanks for solving this,, would vps be a issue in geospatial ar because our area doesnt have vps compatibility it uses GPS to track the location ?? Would anyone have any idea on this??Like because i tried all the steps as shown but when i build i could see my gameobject alwsys in the scene with particular position
@artakdavtyan5380
@artakdavtyan5380 Жыл бұрын
Hey, great Tutorial but I can't find the cesium tar file in your description
@dilmerv
@dilmerv Жыл бұрын
Thank you for your feedback and looks like I missed it, here is the link github.com/CesiumGS/cesium-unity/releases
@dineshbhathad8308
@dineshbhathad8308 Жыл бұрын
Hey, I did everything as suggested and shown, my build even compiled with no errors and apk opened up fine and asked for permissions too, camera opened too, however when i am at the location the asset is not loading. and i have made the asset big enough for it to be seen easily, what do you think is the issue?
@dilmerv
@dilmerv Жыл бұрын
Thanks for your comment and feedback, can you tell me in which country are you testing this from?
@dineshbhathad8308
@dineshbhathad8308 Жыл бұрын
@@dilmerv India. Btw when I tried the sample scene from arcore called “geospatial” it works just fine. Infact I’m not getting data on the ui text you created which I think is supposed to show tracking state and the other info like in yours. But that just says new text for, which means the geospatial manager script itself may not be working as intended ( no errors though I just copied that script from your repo) Also in that sample scene the AR session and session origin objects are disabled, I’m guessing they enable it at runtime.
@johncarlonarval452
@johncarlonarval452 Жыл бұрын
Can I use Geospatial Creator for Mapbox or it is specifically for google map and its api?
@dilmerv
@dilmerv Жыл бұрын
Currently this is only for Google tools, I haven’t looked into the API implementation and if we can use the API via REST or not, if so, you may be able to integrate it with Mapbox :)
@ekat63
@ekat63 10 ай бұрын
Hi Dilmer, Great Video! I have a question regarding the quality of the finished product. At the 26.25 mark of the video, you show the final version (on the left hand side) which has perfect graphics (eg buildings, street, car etc) whereas the graphics in the Scene tab are blotchy. What was the process to refine the graphics? Thanks Emanuel
@flightgangmembers
@flightgangmembers 9 ай бұрын
Amazing can we create this as an interactive game and can we place locations at sea ? Please let me know , great video 👏
@dilmerv
@dilmerv 9 ай бұрын
Absolutely, this could help with making such experience as it is very accurate at setting up AR elements in the real word.
@kena0853
@kena0853 11 ай бұрын
Hi! Do you know how to eliminate the parameters that are shown when you run the app? Like the latitude, rotation… And also, in the app you can set up 20 anchors, what are they for? How could we erase also this function? Thank you very much
@dilmerv
@dilmerv 11 ай бұрын
Do you mean what’s displayed within the canvas / UI?
@alfandi4631
@alfandi4631 3 ай бұрын
hello dilmer, i also want to know how to remove that ui like lat/long information, etc. i would be very happy if u can tell me how to remove that, thank u for the tutorial btw🙏🏻​@@dilmerv
@alfandi4631
@alfandi4631 3 ай бұрын
hi dilmer, i'm working on my ptoject right now and i just wondering how to eliminate all the lang/long parameter ui and add anchor things so the ui is clear and i can put my own ui on it. i would be very happy if u can help me with that, thank u 🙏🏻
@dilmerv
@dilmerv 3 ай бұрын
Just remove line 78 as shown on this: kzbin.info/www/bejne/rGPcgnV6mdxqoLc
@dilmerv
@dilmerv 3 ай бұрын
Let me know if that works for you or not, thanks man.
@kalash9114
@kalash9114 11 ай бұрын
Hello ! great tutorial ! Having problems with Xcode 14, when building. arcore-ios-sdk seems to be a problem and have Undefined symbol: _ArAnchor type errors. Bitcode is set to "No". Any advice ? thanks a lot
@user-iw6ci7gw2p
@user-iw6ci7gw2p 11 ай бұрын
similar problem for me: Undefined symbol: _meshopt_decodeFilterExp and other _meshopt_devode... under UnityFramework
@MrYanissab
@MrYanissab 10 ай бұрын
did you solve this ? @@user-iw6ci7gw2p
@muddish
@muddish 10 ай бұрын
@@user-iw6ci7gw2p I managed to resolve this issue by downgrading Cesium for Unity to v1.2.0. I faced problems when using v.1.5.0.
@akumah9807
@akumah9807 3 ай бұрын
@dilmerv I have the same problem in xcode. help please~~~
@borischen1111
@borischen1111 17 күн бұрын
me too
@thedude6810
@thedude6810 10 ай бұрын
Is there a way to save the rendering so it doesn't keep fetching data from the api?
@dilmerv
@dilmerv 10 ай бұрын
I remember correctly, there are many options within the 3D tiles which will allow you to set a boundary as well as cache options.
@Spatialvisionhub
@Spatialvisionhub 7 ай бұрын
Hey Dilmer, thanks for the tutorial! I've been trying to build the project on Android phone and it works just fine! However, as soon as I build it on iOS shortly after the build succeeds I get error: Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) and see grey screen on my device. Worth mentioning that builds work fine until the moment I enable ARCore Extensions in Unity. I also follow all the ARCore documentation steps in Xcode but nothing seems to help with the issue... Maybe you have some suggestions? Much appreciated!
@burakaydn5661
@burakaydn5661 7 ай бұрын
I fixed this issue by removing the Library folder and reopening Unity. I don't even need to do any post configuration in Xcode.
@Spatialvisionhub
@Spatialvisionhub 7 ай бұрын
Thanks for the suggestion! I also found out that adding linker flag in Xcode helps with the issue. Targets (left menu, mid) > Unity Framework > Build Settings > Other Linker Flags (you can search for it) > double click on value + hit plus on button > add "-ld64" > hit Enter.@@burakaydn5661
@pratheepkumar11
@pratheepkumar11 5 ай бұрын
​@@Spatialvisionhub I tried the solution you suggested. It didn't work. Any other suggestions? I am using Unity Editor: 2022.3.11.f1. XCode Version: 15.2 (15C500b), Trying to run on iPhone 12 Mini: iOS 17.2.1
@maojiayaoyu1018
@maojiayaoyu1018 4 ай бұрын
Heey! I met exactly the same issue :/ How did you solve it? Much appreciate any tips!
@chizzie24
@chizzie24 3 ай бұрын
uff im experiencing the same issue too... hopefully @dilmer sees this
@user-vi2tb8mi9g
@user-vi2tb8mi9g 11 ай бұрын
hi Dilmer, first of all great tutorial. I have a problem, when I insert the game object in the scene I would also like it to speak (starting an audio), but I can't solve this thing. Any suggestions?
@dilmerv
@dilmerv 11 ай бұрын
You could add an instance to an audio source component and play the audio clip once this system resolves an anchor and instantiates a new game object. You could this on Start() or Awake() Unity methods.
@user-vi2tb8mi9g
@user-vi2tb8mi9g 11 ай бұрын
@@dilmerv thank you very much for your answer ;)
@user-vi2tb8mi9g
@user-vi2tb8mi9g 11 ай бұрын
I've been trying for a week but I just can't. I'm so frustrated :(@@dilmerv
@paulbronstein7655
@paulbronstein7655 Жыл бұрын
Hey, great video!! Is it possible to create up non-AR Unity app with this method? Let's say a City Google Maps Explorer as a desktop app?
@dilmerv
@dilmerv Жыл бұрын
Take a look at Cesium which is what Google is using and can work with the use case you are looking for: github.com/CesiumGS/cesium-unity
@paulbronstein7655
@paulbronstein7655 Жыл бұрын
@@dilmerv Thank you very much!! I will check it out 👍
@asmaaljuwaei6569
@asmaaljuwaei6569 7 ай бұрын
Dear Dilmer, thank you so much for this video it is helping me a lot , but i face one issue i dont know why the 3d object getting small and its is moving wit AR camera it has to be static , if you could help me with this i will be appreciate it. thank you again.
@dilmerv
@dilmerv 7 ай бұрын
If your object is moving with your camera then it sounds like AR is not properly configured in Unity. I recommend going through these documents for updated materials developers.google.com/ar/develop/getting-started
@asmaaljuwaei6569
@asmaaljuwaei6569 7 ай бұрын
everything perfect but i dont know why 3d object not staying in the place and getting smaller@@dilmerv
@mpcrockett
@mpcrockett 8 ай бұрын
Thanks for the tutorial! I cannot for the life of me figure out where the script folder with the Geospatial Manager is coming from at 8:47. Help!
@dilmerv
@dilmerv 8 ай бұрын
Hey thanks for your message! you can download the script from this repo which I uploaded as part of this video series. github.com/dilmerv/GeospatialCreatorDemos/blob/master/Assets/Scripts/GeospatialManager.cs
@alextreme98
@alextreme98 Жыл бұрын
Hi Dilmer, I tried to integrate geospatial into Unity SRP project, unity version 2022.3.4f1. After permissions, the app stays in blackscreen, waiting for initialization of geospatial api, in Android logcat, it keeps spamming the message from an update routine, with the info "Waiting for AR Session to become stable (earthTrackingState != TrackingState.Tracking)". Did you encounter this issue? Thanks a lot for your time and help 👌👍
@amarnagvadia6811
@amarnagvadia6811 9 ай бұрын
Hi Have you find any solution for it ?
@alextreme98
@alextreme98 9 ай бұрын
@@amarnagvadia6811 not me, but a mate found out that it was a problem due to some mapbox dependency, we had a package imported that conflicted with geospatial, without throwing errors inside the console
@andrewbritt9436
@andrewbritt9436 4 ай бұрын
@alextreme98 were you able to remove those dependencies? If so, how?
@alextreme98
@alextreme98 4 ай бұрын
my problem was due to mapbox, i removed the mapbox since i didn't need it anymore.@@andrewbritt9436
@yuchen1170
@yuchen1170 18 күн бұрын
Hi Dilmer, thanks for your useful videos! I'm using Unity 2022.3.32f1 and iOS 17.3, but I got a XCode Error: Thread 1: EXC_BAD_ACCESS (code=1, address=0x0) when launching the app. There are some people got the same problem but I didn't find a useful solution, do you have any idea? Thanks!
@dilmerv
@dilmerv 18 күн бұрын
Hey thanks for your message. Could you verify that you have the following or greater versions? - Xcode version 13.0 or later - Cocoapods 1.4.0 or later if using Cocoapods
@yuchen1170
@yuchen1170 17 күн бұрын
@@dilmerv Thanks for the reply! I'm using Xcode 15.4 and Cocoapods 1.12.1
@WPM-ol1ty
@WPM-ol1ty Жыл бұрын
Dilmer, thanks for this awesome tutorial. After I successfully built onto iOS with xcode, the app crashed on startup and gave me an exception : "[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2801b9350". I am new to xcode, did anyone know how to solve this ?
@dilmerv
@dilmerv Жыл бұрын
I think I saw that before, did you set Bitcode to NO, also open the .xcworkspace and build that instead of the regular Xcode project file.
@WPM-ol1ty
@WPM-ol1ty Жыл бұрын
@@dilmerv Yes I did. I also found out that crash wont happen for the first time I opend the app after it got installed, and if I closed the app and tried to reopen, it crashed. *Update : I just found out that if I opened the app with celluar data turned ON and Wifi turned OFF, the app wont crash, but if I did it vice versa, crash comes back.
@MrYanissab
@MrYanissab 10 ай бұрын
did you solved it ? having same error@@WPM-ol1ty
@ericgilligan602
@ericgilligan602 Жыл бұрын
Also.. I wonder can this be deployed and work on an AR headset like Nreal? because THAT would be amazing :D
@dilmerv
@dilmerv Жыл бұрын
That would be amazing I agree, right now Geospatial Creator only supports the ARCore plugin, I believe NReal has its own plugin which would be a problem when trying to incorporate ARCore features but I agree that it may be a fun project to work on !
@ericgilligan602
@ericgilligan602 Жыл бұрын
@@dilmerv Thanks man :) Appreciate the knowledge :) saves me from murdering my brain trying to figure it out hahah Much love!
@CamIsMac.
@CamIsMac. Жыл бұрын
can you do this in Unreal? As far as the basic setup. Is there a way to build this in unity than import the project to Unreal?
@dilmerv
@dilmerv Жыл бұрын
That’s a good question, I know you can use Cesium with Unreal which is what is handling the 3D tiles: cesium.com/platform/cesium-for-unreal The part that I didn’t see from Google announcement is the ability to localize content from unreal, they also only mentioned Aero and Unity, so right now I don’t believe is supported but I will keep researching and keep you updated. Thank you for your feedback !
@CamIsMac.
@CamIsMac. Жыл бұрын
@@dilmerv ok thanks
@calculmentor5676
@calculmentor5676 8 ай бұрын
Hi dilmer, I can"t find a solution to get occlusion for object behind buildings...via shadergraph right ? but how ?
@dilmerv
@dilmerv 7 ай бұрын
There is a solution, I will work on a new video about this very soon.
@DM90129
@DM90129 2 ай бұрын
@@dilmerv hi dilmer! is this video available or have you still to do it? i need a solution for this too! thanks!
@neeha9449
@neeha9449 7 ай бұрын
When developing for iOS, it seems that it does not request my location permissions and I end up cannot place the object. Do you know any way to handle this?
@dilmerv
@dilmerv 7 ай бұрын
Did you add the code to allow location permissions? If so, check and make sure your app has location services enabled under your system settings. Thanks for your comment.
@huiye9702
@huiye9702 Жыл бұрын
Thanks a lot for sharing. When I pasted the API key to geospatial creator origin, it shows that received status code 404 and cannot load the tiles to the scene. Is it because of the wrong API key?
@dilmerv
@dilmerv Жыл бұрын
404 HTTP status code means not found, what country are you trying to test this from? Thanks let me know.
@huiye9702
@huiye9702 Жыл бұрын
@@dilmerv I am in the region of Hong Kong, where the google services are available. I also checked the supported regions of geospatial and found that Hong Kong is included, but don't know why the tiles are not found.😭Having checked the information of Map Tile API and found the Request has been received, but the error rate is 100%..
@kryptoidkryptonic8696
@kryptoidkryptonic8696 Жыл бұрын
I had this issue. Turns out the billing credit card of the account had expired. Once we reset that info it worked fine.
@huiye9702
@huiye9702 Жыл бұрын
@@kryptoidkryptonic8696 Thanks for your response! I also addressed this issue by receiving the approval of the billing account and then applying for the key for the 3D Titles API. Previously, it always show that I need to apply for a new billing account when I entered the 3D Tiles API although I have already created one. The previous key I input to Unity is from the ARCore API instead of the 3D Tiles API.
@samuelnihoul3159
@samuelnihoul3159 4 ай бұрын
@@huiye9702 are these not the same keys? ]
@mgvideos7122
@mgvideos7122 Жыл бұрын
Hello how are you, do you know why I only see the black background? I mean, my camera does not activate
@dilmerv
@dilmerv Жыл бұрын
I am good and thank you for your comment. That normally means that a AR Background rendering feature is missing in the URP setup or the ARCore plugin is not enabled for android under XR Management Plugins.
@kalash9114
@kalash9114 11 ай бұрын
hi there! using your project, i am having a problem when building on xcode. getting about 80 errors all linked to Undefined symbol: _ArAnchor/Config/Earth ...etc I have successfully installed the ARCORE-IOS-PACKAGE and turned bitcode to no
@dilmerv
@dilmerv 10 ай бұрын
Take a look at these steps: 1- ARCore Extensions: developers.google.com/ar/develop/unity-arf/getting-started-extensions 2- ARCore iOS SDK Linker Flags: github.com/google-ar/arcore-ios-sdk
@dilmerv
@dilmerv 10 ай бұрын
Let me know if that helps thanks.
@akumah9807
@akumah9807 3 ай бұрын
I tried following Google's documentation, but the error occurred:Undefined symbols: Linker command failed with exit code 1 (use -v to see invocation) @@dilmerv
@gunterstunter
@gunterstunter Жыл бұрын
Hi after following your tutorial I get nothing showing on the build screen, it's just a blank unity scene in the void. It asks to access networks but not for map or camera permissions. How can I fix this?
@dilmerv
@dilmerv Жыл бұрын
Follow the player settings steps on this link and I am sure that it will fix your problem: developers.google.com/ar/develop/unity-arf/getting-started-ar-foundation#install_ar_foundation
@gunterstunter
@gunterstunter Жыл бұрын
@@dilmerv Thankyou that was helpful
@gunterstunter
@gunterstunter Жыл бұрын
@@dilmerv I have another question for you: in unity geospace creator i placed an object in front of my house to test, however it appears through walls and other houses at a distance, instead of appearing behind walls and buildings. It's as though it's on the front layer and everything else is on a layer behind. How do you think this can be fixed
@thailai1699
@thailai1699 3 ай бұрын
Where did you get the script folder you put in at 9:08? thanks
@dilmerv
@dilmerv 3 ай бұрын
You can download all the files from here github.com/dilmerv/GeospatialCreatorDemos and thanks for watching!
@thailai1699
@thailai1699 3 ай бұрын
@@dilmerv I dragged the script folder from your project into my project and dragged the 'GeospatialManager' part into my GeospatialManager but it gives me the error: Can't add script component 'GeospatialManager' because the script class cannot be found. Make sure that there are no compile errors and that the file name and class name match.
@chinthakaabeyrathne8421
@chinthakaabeyrathne8421 3 ай бұрын
@@thailai1699 I have the same issue. did you figure it out?
@marinhozzz
@marinhozzz 6 ай бұрын
Hey! Thank you in advance for the tutorial. Way better than the google one. However I keep getting the same error on both: I'm stuck on a black screen "earthstate not ready" do you know why?
@dilmerv
@dilmerv 6 ай бұрын
Hey thanks for your feedback, is this happening with iOS or Android? I believe I had this error when I was missing permissions, here is sample code github.com/dilmerv/GeospatialCreatorDemos/blob/ff20fa3275a59fc491ff6a212e81cae4522273d3/Assets/Scripts/GeospatialManager.cs#L104
@marinhozzz
@marinhozzz 6 ай бұрын
⁠​⁠​⁠​⁠​⁠@@dilmervon android. I am getting: Is returning: false Earth state: error earth not ready Initializing geospatial functionalities Earth tracking state: none Will look for the link thank you.
@andrewbritt9436
@andrewbritt9436 4 ай бұрын
@dilmerv@@marinhozzz I'm getting this same error. What permissions do you think I might be missing? Thank you!
@marinhozzz
@marinhozzz 4 ай бұрын
@@andrewbritt9436 i answered in this video, you need the AR background render feature. They also updated the tutorial on the website you can find this error described there
@andrewbritt9436
@andrewbritt9436 4 ай бұрын
Thank you@@marinhozzz! I added that feature as in the video but am still getting the error. Did the black screen stop for you once you added it? Can you provide the link to that site?
@jmartin1223
@jmartin1223 Жыл бұрын
Maybe it is me, but I cannot get this to work. Every time I try to build this in Xcode, it fails every time. I do most of my dev on Android, but I can't seem to figure out how to get this working on my iPhone.
@dilmerv
@dilmerv Жыл бұрын
Here are a few steps that could help: developers.google.com/ar/develop/ios/enable-arcore if you still get errors let me know what those are thanks
@jmartin1223
@jmartin1223 Жыл бұрын
@@dilmerv thanks for getting back to me. I ended up figuring it out. I was opening up the wrong xcode project, when I should have opened the xcode workspace project instead. But I could not test it on my iphone as I don't pay to be an apple developer.
@jonmccarthy6099
@jonmccarthy6099 2 ай бұрын
is that a looking glass display on your desk?
@dilmerv
@dilmerv 2 ай бұрын
Yes and I love it ☺️
@ananthsundarraj924
@ananthsundarraj924 Жыл бұрын
i cant enable tiles api ,it says add a debit card with USD as currency but i dont have one can anyone help wat can i do next plz??
@dilmerv
@dilmerv Жыл бұрын
Hello and thanks for your message. In order to use Google’s services, you need a credit card on file, also not all countries are supported with the 3D tiles API. To find out if your country supports it check out this page: developers.google.com/maps/coverage
@ananthsundarraj924
@ananthsundarraj924 Жыл бұрын
@@dilmerv thanks for your brother but in india i think its not supported
@k1ll3rkoala
@k1ll3rkoala Жыл бұрын
This is rad. Great video! Thanks for ruining us through this. My mind us swimming with ideas. Time to fire up Unity.
@dilmerv
@dilmerv Жыл бұрын
Hehe I got the same feeling the first time I saw it, thanks for your feedback and time !
@TerraQuaticaONG
@TerraQuaticaONG 6 ай бұрын
I´m sorry but at 8:37 I just can´t understand what you drag & drop. For me is not clear at all when you say "this" withput showing it. After that is quite difficult to followvyour tutorial. Could you or anybody else explain how and what is done? THX
@saadafm
@saadafm 4 ай бұрын
Clone the repo onto your personal computer then you can directly copy/paste the Scripts folder. Note however I first copy/pasted the whole script (including several other files which at this point dont exist according to the video) and it threw error. The second time I copy pasted the scripts folder into assets, but only with Editor and GeospatialManager folder just like it is shown in the video at 8:37. Everything is going good so far at least.
@dilmerv
@dilmerv 3 ай бұрын
You can download all the files from here github.com/dilmerv/GeospatialCreatorDemos and thanks for watching!
@z-time3291
@z-time3291 7 ай бұрын
On android, step by step, totally Black screen, idk if it was for any dependencies.. :c.. u.u my whole day is a black screen
@alexandremelin1014
@alexandremelin1014 2 ай бұрын
Hello Dilmer, 🤩Great, absolutely exceptional tutorial! Followed it multiple times from A to Z. May I ask a stupid beginner's question: How do you take it from there to generate the AR code/link that will enable others to view the Augmented Reality, on their smartphones, when facing their phones to the triggering surroundings/buildings once they are on site? Thanks in advance for your answer and for being indulgent. I am an Aero user, up to now, for whom this just requires to push on the share button when the project is finalized. B.R. Alex
@alexandremelin1014
@alexandremelin1014 2 ай бұрын
Hola Dilmer, me imagino que estas muy ocupado, pero si tienes un minuto para responder a mi pregunta me adjurarías muchísimo: How to generate the QR code/link that will enable others to view the Geospatial Augmented Reality, on their smartphones, when facing their phones to the triggering surroundings/buildings once they are on site? Agradeciéndote mil veces de antemano, un saludo muy cordial, Alejandro
@itsowaisiqbal
@itsowaisiqbal 11 ай бұрын
Hey Dilmer Not sure if you can help with this but would really appreciate it Thread 2: "-[FBLPromise HTTPBody]: unrecognized selector sent to instance 0x2814dcb40" Thread 2: EXC_BREAKPOINT (code=1, subcode=0x197c13c24) When I am trying to build to iOS I get this error and my app keeps crashing on iPhone Any chance you can help with this?
@dilmerv
@dilmerv 11 ай бұрын
Did you add the ARCore iOS package within Xcode? Also, don’t open the project generated by Unity, there should be an iOS pods project which has all the references. Let me know if that makes sense.
@ret0x
@ret0x Жыл бұрын
Superb tutorial. I've managed to get all the way through to Xcode but after building I get a load of errors. /Users/***/Library/Developer/Xcode/DerivedData/project-name-hjdkkytqxffvkmbnqtidxzsnclvt/SourcePackages/checkouts/arcore-ios-sdk/AugmentedFaces/Resources/ARCoreFaceResources Couldn't load project at: /Users/***/Library/Developer/Xcode/DerivedData/project-name-hjdkkytqxffvkmbnqtidxzsnclvt/SourcePackages/checkouts/arcore-ios-sdk/AugmentedFaces/Resources/ARCoreFaceResources and /Users/***/Library/Developer/Xcode/DerivedData/project-name-hjdkkytqxffvkmbnqtidxzsnclvt/SourcePackages/checkouts/arcore-ios-sdk/GARSession/Resources/ARCoreResources Couldn't load project at: /Users/***/Library/Developer/Xcode/DerivedData/project-name-hjdkkytqxffvkmbnqtidxzsnclvt/SourcePackages/checkouts/arcore-ios-sdk/GARSession/Resources/ARCoreResources This is followed by 83 UnityFramework issues Undifined symbol: _ArAnchor_detach through to _ArVpsAvailabilityFuture_GetResult.
@dilmerv
@dilmerv Жыл бұрын
Did you set Bitcode to NO, also open the .xcworkspace and build that instead of the regular Xcode project file.
@ret0x
@ret0x Жыл бұрын
@@dilmerv Yes Bitcode set to NO, I hadn't tried using a .xcworkspace but have now. Same issues under UnityFramework.
@kalash9114
@kalash9114 11 ай бұрын
hello ! did you solved it ? @@ret0x
@kalash9114
@kalash9114 11 ай бұрын
@@dilmerv havibg this same eroor on xcode :(
@barnaszasz9740
@barnaszasz9740 9 ай бұрын
Try Product - Clean build. That god rid of the AugmentedFaces error for me. Also go back to earlier Cesium version, i fund that 1.3.1 works for me.
Get started with Geospatial Creator in Unity
15:21
Google AR & VR
Рет қаралды 29 М.
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
Please be kind🙏
00:34
ISSEI / いっせい
Рет қаралды 193 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
Build location-based augmented reality with ARCore geospatial API
15:52
Google for Developers
Рет қаралды 32 М.
Publishing Geospatial AR content in Google Maps
16:33
Google AR & VR
Рет қаралды 6 М.
Create World Space AR | Geospatial Creator Tutorial - ARCore in Unity
18:12
Digital Twins Go Geospatial With OpenUSD, 3D Tiles, and Cesium
16:51
NVIDIA Omniverse
Рет қаралды 10 М.
Building the future with Google AR
10:34
Google AR & VR
Рет қаралды 4,5 М.
Build with Geospatial Creator and Places API from Google Maps Platform
9:31
Create Location-Based AR Quickly and Easily (Unity + Lightship WPS)
27:11
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 4,7 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 323 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 2,1 МЛН