Developer Documentation

room.UpdatePosition does not work or works incorrectly

Please make sure to follow these tips:

  • The position scale should be set to the same value for all Peers in the ODIN room. The scale value also has to be set individually for each room that will utilize ODIN’s optimization feature. You can set the position scale using room.SetPositionScale.
  • Invoking room.UpdatePosition too frequently can lead to operational issues where the optimization of audio streams may not function correctly. Limit the frequency of calling room.UpdatePosition to a maximum of 10 times per second. This equates to one update every 100 milliseconds. We recommend using Unity’s Coroutines to update the position in Odin rooms.

See also

Still need help?

Please check out support options like AI chatbot, Discord community and premium support packages.

Get in touch