mapbox / mapbox/mapbox-unity-sdk
Fix scaling of vector module mesh generation
Open
@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.
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.
Assessment
This issue has not been assessed yet.