mapbox / mapbox/mapbox-unity-sdk

Fix scaling of vector module mesh generation

Open
#1,968 0 comments 0 reactions 1 assignee View on GitHub

@brnkhy is already working on this.

Since Jan 19, 2026.

bug
Dominant language
C#
Stars
784
Forks
231
PR merge metrics
No merged PRs in 30d

Description

Vector module mesh generation works in 0-1 range for simplicity in scaling but that causes precision loss and bugs in high detail areas.
I just had to do a `multiply by 100 then divide by 100` hack to work around this issue.

mesh generation should probably happen in vector tile space (was it 512?), and then scaled to visual/unity space.

Image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.