I am trying to equip a weapon from interaction controller when the player encounters it.
I have the pickup prefab with an interaction game event which sets the staring object as selected data. The selected data is then equipped on the equipment part.
When I run ingame though this does not work and nothing happens. If I bypass the selected data step and equip a specific weapon it works however, so the issues seems to be capturing the pickup item as the selected data. What am I doing wrong?