mapbox-maps-ios icon indicating copy to clipboard operation
mapbox-maps-ios copied to clipboard

Crash - Map crashing when zooming in

Open alongLFB opened this issue 1 year ago • 2 comments

Environment

  • Xcode version: 15.2
  • iOS version: 17.2
  • Devices affected: iPad Air (simulator) and Vision Pro (simulator)
  • Maps SDK Version: 11.2.0 and 11.3.0-beta.1

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 avatar Mar 19 '24 12:03 alongLFB

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?

alongLFB avatar Mar 21 '24 10:03 alongLFB

@alongLFB Hi, thank you for the report.

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

persidskiy avatar Mar 22 '24 14:03 persidskiy