So I was making a simple music player system for a multiplayer game. The idea was to store the song index in the instance on the game host. That way when switching levels or something the next song will play so there won’t be random repeats.
It was pretty simple so I just did the rpc’s in the player controllers and put an audio component in there. They would grab the index and references from the instance and once everyone had the song index from the host they would start playing the music.
The problem is that on the host, and only the host the audio is pending kill but I haven’t been able to figure out why? There is several seconds that pass after the controller is created and all the clients work.
LogScript: Warning: Attempted to access Audio via property Audio, but Audio is pending kill
Any thoughts on why?