apple / apple/unityplugins

SpatialController dependency/import issues

オープン
#64 コメント 5 件 リアクション 4 件 担当者 0 名 GitHub で見る
bug Plug-in - SpatialController
主要言語
C#
スター
982
フォーク
248
平均マージ
6日 12時間
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

AccessoryTrackingHelper クラスから始め、spatialcontroller パッケージの依存関係と、7 行目および 14 行目付近のコードを調査します。Unity.VisualScripting または Unity.PolySpatial なしでパッケージをコンパイルできるか確認し、その後、XR プロジェクト設定におけるハンドトラッキングの説明要件を調査します。不要な依存関係が強制されず、未使用のハンドトラッキング設定なしでパッケージが動作すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp, unity
領域
build-system, game-dev
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。