# servertravel + controller music issue

**URL:** <https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242>\
**Category:** Audio\
**Tags:** servertravel, unreal-engine, music, question\
**Created:** [July 14, 2019, 3:51pm UTC](https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242 "2019-07-14T15:51:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [July 14, 2019, 3:51pm UTC](https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242/1 "2019-07-14T15:51:01Z")

</div>

i have musicplayer inside player controller, after servertravel correct volume and song will be printed but for some reason the music does not play. this works with regular open level command but not with servertravel.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_935088b3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_935088b3](https://forums.unrealengine.com/u/anonymous_user_935088b3)\
**Post date:** [July 16, 2019, 4:49pm UTC](https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242/2 "2019-07-16T16:49:19Z")

</div>

Hey kmssn,

try your musicplayer through GameInstance instead of the player controller. GameInstance’s data is persistent when changing levels/game modes/etc. Compared to the player controller where the data will be reset.

If you want to read a little bit more into the functionality of GameInstance, you can do so [here](https://wiki.unrealengine.com/Game_Instance,_Custom_Game_Instance_For_Inter-Level_Persistent_Data_Storage) and [here](https://api.unrealengine.com/INT/API/Runtime/Engine/Engine/UGameInstance/index.html).

Let me know if this helps!

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [July 16, 2019, 8:32pm UTC](https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242/3 "2019-07-16T20:32:24Z")

</div>

this is working yes! it works on clients and server also properly with rpc:s from player controller. this also made the code much cleaner. thanks alot, i was just tunnelvisioning with player controller.

---

<div class="post-metadata">

**Author:** ![kalekarri](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kalekarri](https://forums.unrealengine.com/u/kalekarri)\
**Post date:** [July 16, 2019, 8:44pm UTC](https://forums.unrealengine.com/t/servertravel-controller-music-issue/452242/4 "2019-07-16T20:44:13Z")

</div>

if anyone will run to the same issue here is pics of working system. allows different songs lists.

Player controller:

 ![282568-ue4editor-kkhq28e8rs.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/e/e0e8b2d5174da207d578b8f244e44eb4567ac17a.png)

Game instance 1:

 ![282569-ue4editor-jwnu4cfnh0.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/8/608f1791aaec7e3e36da88f7bfe1bfe460f4e0f0.png)

Game instance 2:

 ![282570-sharex-iadqx4r4dp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/2/9/72991b2442e52a2b0b6566dee6eecdbe7d074eb0.png)
