Skip to content

passing 0 to endpoint expecting float will set parameter to 1.0 while osc debug showing 0.0 #175

Description

@TZFC

Describe the bug
When an osc endpoint is expecting a float, and 0 is passed to it (using python-osc). In OSC debug window, it will correctly show up as 0.0, but the parameter will be updated to 1.0

Current workaround is to pass -0.0 when wanting to pass 0.

To Reproduce
Steps to reproduce the behavior:

  1. Have an osc endpoint driving an avatar parameter that expects a float
  2. Use python-osc to send 0 to that endpoint
  3. Open OSC debug, the value is received as 0.0
  4. Open avatar debug, the parameter is updated to 1.0

Expected behavior
The avatar parameter should be updated to 0

Screenshots
[The OSC debug black square shows 0.0, the avatar parameter overlay shows that parameter to be 1.0]

Info (please complete the following information):

  • Type: Desktop
  • VRChat version and build 2025.3.1 - 1680

Additional context
using python-osc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions