vrchat-community / osc

Files and Info on using OSC to communicate with VRChat
MIT License
234 stars 4 forks source link

``/avatar/change`` is sent ``after`` parameters are sent when loading a new world #105

Open Reimajo opened 2 years ago

Reimajo commented 2 years ago

Describe the bug When loading a new world, an OSC client receives the /avatar/change event after already receiving (resent) avatar parameters. The order of events is not clear. This makes it hard to distinguish between resent parameters and user-interaction driven parameters. There is also no "world changed" event to help with that.

To Reproduce Steps to reproduce the behavior:

  1. Make sure you have a lot of custom avatar parameters defined
  2. Load a new world
  3. Look at all received events and their order

Expected behavior When loading a new world, an OSC client should receive the /avatar/change event prior to receiving any other (resent) avatar parameters.

Info (please complete the following information):