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

Đang mở
#2,002 8 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp, ios, unity
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
787
Fork
228
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mapbox/mapbox-unity-sdk

Tất cả issue của mapbox/mapbox-unity-sdk

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.