Skip to content

Fix some Unity 6.3 deprecation warnings#1712

Merged
rblenkinsopp merged 2 commits into
developfrom
rcb/unity-upgrades
May 21, 2026
Merged

Fix some Unity 6.3 deprecation warnings#1712
rblenkinsopp merged 2 commits into
developfrom
rcb/unity-upgrades

Conversation

@rblenkinsopp
Copy link
Copy Markdown
Member

This fixes some deprecation warnings around Physics.autoSyncTransforms and XRStats.TryGetGPUTimeLastFrame.

This is a deprecated function in Unity 6.3+.
This implementation does more work than the preivous implementation, but should be fine for a support/util function.
Comment thread Packages/Tracking/Physical Hands/Runtime/Scripts/Misc/GrabBall.cs
@MaxPalmer-UH
Copy link
Copy Markdown
Collaborator

Looks good to me, did a quick test on Windows.

@MaxPalmer-UH MaxPalmer-UH self-assigned this May 21, 2026
Copy link
Copy Markdown
Collaborator

@MaxPalmer-UH MaxPalmer-UH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird, but can now approve.

@rblenkinsopp rblenkinsopp merged commit 8cc552d into develop May 21, 2026
3 checks passed
@rblenkinsopp rblenkinsopp deleted the rcb/unity-upgrades branch May 21, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants