So after beating my head against this and checking literally everything to see who has a reference to what variable I finally came to find out that the widget ref I was passing from the server to the client never gets sent even when replicated and/or reliable
ok so here is the scenario I have a left and right hand they are a component widget of my players UI they are a custom widget that I added to the UI manually not in code and I want to switch between them I set this to the Tab key in my inputs and fire the event in my player controller as well I create and set a reference to the UI in my player controller and in my pawn I set the left and right hand and the currently active hand to references now with all that
in my player controller off of the tab pressed I fire run on server which then says if active hand ref is the right hand ref then set left hand as the active hand and vice versa then pass the active hand through a run on owning client event for the highlight function in the UI
only the problem is the active hand ref never gets sent to the client its always null if I check the clients version of active hand its auto set to the right hand that prints out correct if I check the server side before and after everything comes out correct only after I pass it through the run on owning client does it come out null
I tried looking it up and I cant seam to find anyone else with this particulate problem and I dont have any screen shots as I have changed this from sending the active hand to sending an integer then just saying if its 0 then its the right hand if its 1 then its the left the problem with this is that down the road I wanted to put items in inventory slots and having all the inventory slots represented hypothetically by numbers makes it really hard to figure out what everything is supposed to be a reference to
So if anyone has any ideas as to why you cant send widget ref variables from server to client I would like to know or maybe a better work around then sending integers all over the place
oh also the custom widget is just a button with an image in it made it easier to use that instead of making a ton of on clicked events for each slot in the players UI