apple / apple/unityplugins

SpatialController dependency/import issues

Đang mở
#64 5 bình luận 4 reaction 0 người được giao Xem trên GitHub
bug Plug-in - SpatialController
Ngôn ngữ chính
C#
Star
982
Fork
248
Merge trung bình
6 ngày 12 giờ
Pull request đã merge (30 ngày)
2

Mô tả

Couple of complaints about the spatialcontroller package, in the AccessoryTrackingHelper class

line 7
using Unity.VisualScripting;

this shouldn't be here - it's not used, but causes compile errors if you don't have that package. This seems like it's just clearly a bug/mistake

line 14
using Unity.PolySpatial;

We don't use polyspatial at all - polyspatial is added as a dependency to the package just to check if you are in a specific camera mode. It's so much extra bloat just for something we don't care about or need. I believe you can use "Version Defines" to make this code optional for people who have polyspatial in their project, rather than making it a forced dependency

Also, when using the package, it seems to require a hand tracking description - even though we aren't really using hand tracking. To make things slightly more annoying, the hand tracking description box in the xr project settings is greyed out if you don't have unity.xr.hands in your project

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với lớp AccessoryTrackingHelper và kiểm tra các phần phụ thuộc của package spatialcontroller cùng đoạn mã xung quanh dòng 7 và 14. Kiểm tra xem package có biên dịch được mà không cần Unity.VisualScripting hoặc Unity.PolySpatial hay không, sau đó điều tra yêu cầu về mô tả theo dõi bàn tay trong phần cài đặt dự án XR; hoàn tất có nghĩa là các phần phụ thuộc không cần thiết không bị bắt buộc và package hoạt động mà không cần thiết lập theo dõi bàn tay không được sử dụng.

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

Đánh giá

Công nghệ
csharp, unity
Lĩnh vực
build-system, game-dev
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

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.