mapbox / mapbox-maps-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and Metal
https://www.mapbox.com/mapbox-mobile-sdk
Other
485 stars 157 forks source link

Failed to create LayerType from custom #1829

Open Args opened 1 year ago

Args commented 1 year ago

When there is a custom layer on the map, such as adding a scenekit model, and then changing the language, it will cause a crash and show Failed to create LayerType from custom. Is there any way to solve it?

Args commented 1 year ago

Since changing the language can only choose to change all layers or specify layerids, is there a way to change all layers except certain IDs?

ZiZasaurus commented 1 year ago

Thank you for reaching out. This behavior is not a crash, but an assertion that is triggered only when debugging. Please note, we will address this in our upcoming major version.

Args commented 1 year ago

@ZiZasaurus Thank you for your reply. I want to know how long it will take for the next major version. We can decide whether to wait according to the length of time.

Args commented 1 year ago

Hello? Any plans?

OdNairy commented 1 year ago

@Args Can you please check the latest main branch? I guess it should be fixed now

Args commented 1 year ago

@Args Can you please check the latest main branch? I guess it should be fixed now

Thanks,finally. But we also use MapboxSearch(depends on MapboxCommon (~> 23.6)) in our project, so I can't try this version now. Hope MapboxSearch will follow up soon.