nathanj
Junior Member

Posts: 66
Posts: 66
|
Post by nathanj on Mar 22, 2022 23:52:09 GMT
Hi Brian,
Sorry for the lame question but if I wanted to have a piece of music synced for all users, how would I do this? Just looking for the correct words to search for or a link.
Thank you, Nathan
|
|
|
Post by DarkTonic Dev on Mar 23, 2022 1:46:41 GMT
It won't be exactly sync'd for all users. You can play a piece of music, which may be off by approximately each player's latency. Event Sounds can do it based on any MonoBehaviour event. Check the "Multiplayer Broadcast" checkbox.
|
|
nathanj
Junior Member

Posts: 66
Posts: 66
|
Post by nathanj on Mar 23, 2022 1:48:43 GMT
That's fine its not exact. We have a demo in a few weeks for a VR club scene and I would like to have the background music kind of synced.
Thank you!
|
|
|
Post by DarkTonic Dev on Mar 23, 2022 2:49:53 GMT
No problem.
|
|
nathanj
Junior Member

Posts: 66
Posts: 66
|
Post by nathanj on Mar 27, 2022 6:05:03 GMT
Hi Brian
I am trying to have a piece of music start in the Main client and then when every additional player joins the music is synced. however, when players are entering atm the music doesn't trigger for them.
Should I use a playlist or something for this. At the moment I', just using a Sound Group and an Event Sounds component set to to OnStart.
|
|
|
Post by DarkTonic Dev on Mar 27, 2022 15:53:52 GMT
You'd have to code this yourself. There is no "buffering" for our included RPC's. If a client is connected, their music will start at approximately the same time.
|
|