mapbox / mapbox/mapbox-maps-ios
Failed to create LayerType from custom
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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