SpatialController dependency/import issues
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp, unity
- Domain
- build-system, game-dev
Research direction
Start with the AccessoryTrackingHelper class and inspect the spatialcontroller package dependencies and the code around lines 7 and 14. Check whether the package compiles without Unity.VisualScripting or Unity.PolySpatial, then investigate the hand tracking description requirement in the XR project settings; done means unnecessary dependencies are not forced and the package works without unused hand tracking setup.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- C#
- Stars
- 986
- Forks
- 252
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apple/unityplugins
-
bug Plug-in - GameKit
apple/unityplugins#98 · 2 comments · 1 assignee ·
-
bug
apple/unityplugins#97 · 1 assignee ·
-
feature request
apple/unityplugins#94 · 3 comments · 8 reactions · 1 assignee ·
-
feature request Plug-in - GameKit
Difficulty 5/5 Over a week Newbie friendliness 45/100
apple/unityplugins#93 · 1 reaction ·
-
bug Plug-in - GameKit
apple/unityplugins#92 · 1 reaction · 1 assignee ·
All issues in apple/unityplugins
Similar issues
-
:watch: Not Triaged dotnet-fsharp/svc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#63292 · 3 comments · 1 reaction ·
-
Issue-Enhancement Needs-Triage
Difficulty 1/5 Under an hour Newbie friendliness 86/100
PowerShell/PowerShell#28061 · 2 reactions ·
-
dependencies needs-team-triage server-Azure.Mcp
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
aspnet-core/svc aspnetcore-signalr/subsvc doc-enhancement Pri2 SignalR
Difficulty 1/5 Under an hour Newbie friendliness 88/100
dotnet/AspNetCore.Docs#37729 ·