Skip to content

Rework VRChat OSC address/port handling#1701

Merged
loucass003 merged 12 commits intomainfrom
bscotch/fix-osc-duplication
Apr 16, 2026
Merged

Rework VRChat OSC address/port handling#1701
loucass003 merged 12 commits intomainfrom
bscotch/fix-osc-duplication

Conversation

@ButterscotchV
Copy link
Copy Markdown
Member

Cleaned up all the OSC port initialization methods to make them clearer and handle match detection better. OSCQuery detection has also been changed to prioritize an OSCQuery entry that matches the configured IP and/or port. Also prioritized OSCQuery detection over using the manually configured address so there won't be duplicate data sent.

Should fix #1309

@ButterscotchV ButterscotchV self-assigned this Dec 31, 2025
@ButterscotchV ButterscotchV added Type: Bug Something isn't working Type: Enhancement Adds or improves a feature Area: Server Related to the server Area: VRCOSC Related to the VRChat OSC driver labels Dec 31, 2025
Copy link
Copy Markdown
Member

@Eirenliel Eirenliel left a comment

Choose a reason for hiding this comment

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

I mean it's not really thread safe even with this fix, but like... so is life.

Comment thread server/core/src/main/java/dev/slimevr/osc/VRCOSCHandler.kt
@loucass003
Copy link
Copy Markdown
Member

There is conflict on these changes. Did it get fixed by another pr? What is the status on this

@ButterscotchV ButterscotchV force-pushed the bscotch/fix-osc-duplication branch from 468c69e to ed0e59f Compare April 16, 2026 11:55
@loucass003 loucass003 merged commit 65d4520 into main Apr 16, 2026
7 of 12 checks passed
@loucass003 loucass003 deleted the bscotch/fix-osc-duplication branch April 16, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Server Related to the server Area: VRCOSC Related to the VRChat OSC driver Type: Bug Something isn't working Type: Enhancement Adds or improves a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Using yaw reset with OSC causes trackers to follow HMD

3 participants