mapbox / mapbox/mapbox-maps-ios

Failed to create LayerType from custom

Open
#1,829 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged bug :beetle:
Dominant language
Swift
Stars
601
Forks
196
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with a custom layer such as a SceneKit model, then change the map language and inspect the custom-layer and language-change flow. Confirm the fix by verifying that changing language no longer crashes or reports “Failed to create LayerType from custom.”

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.