mapbox / mapbox-maps-ios

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

Crash - Map crashing when zooming in #2150

Open alongLFB opened 3 months ago

alongLFB commented 3 months ago

Environment

Observed behavior and steps to reproduce

-[MTLDebugDevice newBufferWithBytes:length:options:]:670: failed assertion `Buffer Validation Cannot create buffer of zero length. newBufferWithBytes:pointer must not be nil. '

Screenshot 2024-03-19 at 16 11 30

Expected behavior

Notes / preliminary analysis

Additional links and references

alongLFB commented 3 months ago

By the way, this customized style.json file can be used normally on the web. But there will be problems on iOS. Is there any difference in loading style between web and iOS sdk?

persidskiy commented 3 months ago

@alongLFB Hi, thank you for the report.

Can you please share a minimal reproducer project or the style you use?