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

Ouverte
#2,002 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
25/100
Type d'issue
Bug
Clarté
À clarifier
Activité
Active
Stack technique
csharp, ios, unity
Domaine
mobile

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
C#
Étoiles
787
Forks
228
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de mapbox/mapbox-unity-sdk

Toutes les issues de mapbox/mapbox-unity-sdk

Issues similaires

Plus d'issues C#

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.