What am I todo about UnityLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!

Offen
#2,002 8 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Aktiv
Tech-Stack
csharp, ios, unity
Bereich
mobile

Rechercherichtung

The errors name Mapbox.LocationModule.UnityLocationProvider and StaticLocationProvider, both reported missing the ExtensionOfNativeClass attribute on iOS in the Unity editor. Start by finding those two provider classes in the location module and checking how the iOS native bindings are attached to them. Done means the iOS build no longer logs the attribute error and a location provider can be instantiated without a constructor error.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I've been using mapbox location provider and it sometimes is inaccurate so I want to see if any other method would work, but both static and unity location provider do not work for me on IOS and have the following errors:
'Mapbox.LocationModule.UnityLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

'Mapbox.LocationModule.StaticLocationProvider' is missing the class attribute 'ExtensionOfNativeClass'!
UnityEditor.EditorApplication:Internal_CallDelayFunctions ()

To investigate I try to make a that inherits from Mapbox.LocationModule.UnityLocationProvider

it asks for a constructor that does not accept 0 arguments and it doesn't tell me what arguments it wants.

I can tell there is something I should do here but I'm not sure what.

Vorherrschende Sprache
C#
Sterne
787
Forks
228
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus mapbox/mapbox-unity-sdk

Alle Issues in mapbox/mapbox-unity-sdk

Ähnliche Issues

Weitere Issues zu C#

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.