Announcement

Collapse
No announcement yet.

Audio is pending kill but only on host.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Audio is pending kill but only on host.

    I posted this in the audio section but it might be a more general problem I am having so here could be more appropriate.


    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, everyone listens to the same music at the same time as well.

    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. Also, all the clients work.

    LogScript: Warning: Attempted to access Audio via property Audio, but Audio is pending kill

    Any thoughts on why?
Working...
X