Skip to content

Tiles not created only ParseError (Exception: Unknown tile tag: 15) #45

Description

@Naphier

System Info

Unity v5.5.2 (64-bit Windows editor)
Mapbox Unity SDK v0.4 beta

Background

I'm able to run example scenes in a project with just mapbox in it so I'm thinking there's a collision with something somewhere, but can't find it. I had ICSharpCode.SharpZipLib in the project and removed my existing one in favor of the one that cam with mapbox. I'm also using NewtonSoft's json, I tried removing that and no difference.

Issue

When running MapController no valid vector tile data is returned from the request. All I get are ParseErrors (with no further helpful information). After some digging I was able to glean the following:

  • VectorTile.ParseData throws an exception "Unknown tile tag: 15"
  • Response byte array is of length 44
  • Bytes returned by the response are the same bytes that are returned from Compression.Decompress.
  • MapController inspector settings are capture
  • Editor log: Editor.txt

Plugins in the project:

Native file browser:

  • System.Windows.Forms
  • Ookii.Dialogs
  • StandaloneFileBrowser.jslib

TextMesh pro:

  • TextMeshPro-Editor
  • TextMeshPro
  • TMPro_Plugin
  • TextMeshPro
  • vcomp120

Mapbox:

  • Mapbox.VectorTile.ExtensionMethods
  • Mapbox.VectorTile.Geometry
  • Mapbox.VectorTile.PbfReader
  • ICSharpCod.SharpZipLib
  • Mapbox.Json
  • Triangulation

Other:

  • Newtonsoft.Json

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions