Hi, I’m passing an object into a widget I’m creating. While debugging, I can see the object variable value is correct, but the “Get Class” node’s output is “Blueprint”? and not the actual class of the object.
Any help? Thanks.
Hey @AllGamesSuck!
Can you get some screen snips of your code? Like, in what manner are you using “Get Class” for this? You’re getting the reference, but it’s not printing the name of the thing… I think there’s an issue there with Widgets not being able to printstring referenced things?
Get back to us!
I’ve abandoned the idea, but I made 2 widgets just to test it on its own. 2 widgets because that’s what I was doing in the game. So, one creates the other and passes in an object.
I’m working on an inventory system, and Drag And Drop Operation requires the Paylod as an object. So I thought I can pass the actual item object to the widget tile that represents it.
This would be the main inventory widget:
And this would be the item tile widget:
And Get Class doesn’t get it.