Widget disables after another player connect
Sorry for my english.
Making multiplayer game and having problem with ui.
i have next inventory system: player press button to open inventory -> rpc call on server to get data-> rpc call on client with json result -> client parse json and show widgets in slots.
When i run project in editor with 1 client and dedicated - everything's ok.
When i run project in editor with 2 clients and dedicated - widgets (icons in inventory) of client-1 disable (grey and cant be moved) after client-2 was connected (inventory rpc was not even called). Client-2 has same problem after connect.
When i run package with listen server and 1 client - widgets of client-1 already disabled after connection (listen server has not ui).
Sorry, but i dont know what extra information is needed, ask. Please, help :)
Problem solved: mistake was in creating widget with slots with every player, so i just added a check "IsLocallyControlled" before creating widget in pawn.
answered Jun 25 '18 at 10:58 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here