microsoft / MapsSDK-Unity

This repository contains samples, documentation, and supporting scripts for Maps SDK, a Microsoft Garage project.
MIT License
648 stars 127 forks source link

Will MapsSDK-Unity run fine on Unity 2021.3 LTS? #189

Closed HiroOfHyrule closed 1 year ago

HiroOfHyrule commented 2 years ago

Hello, So according to the Unity Support Matrix in the documentation, it only says that up to Unity 2020.3 LTS is supported and there is no listing for Unity 2021.3 LTS. I'm unsure if this matrix is simply outdated or if Unity 2021.3 LTS is missing because it is unfortunately not supported, so I wanted to get confirmation whether or not MapsSDK-Unity is known to be able to be used in Unity 2021.3 LTS without significant issues. Thank you

xFrost64 commented 1 year ago

Hello, In my project the map works fine without 3D on. But when 3D is turned on and the map is zoomed in close enough to get the 3D data to populate, it sometimes throws "System.ArgumentNullException: Buffer cannot be null. Parameter name: buffer". Once this error happens the map tiles will no longer update as the map moves around. This seems to happen when you go over an area without any of the 3D data, it works fine in big cities but in the middle of no where is when I get the error to reliably pop up.

I posted the error in my log below, hope this helps!

MapErrorLog.txt

kircher1 commented 1 year ago

I haven't seen that issue. Is it 2021 specific? In general, Unity 2021 should work. Unity 2022 or possible 2023, I'm not sure about.