why would this be Not Valid If I'm setting the reference

This is coming back not valid

but I’m setting the reference when I create the widget

Anyone know why? or how I can fix it?

It is valid everywhere else

Where is the function HideTooltip1 located? is it within WB_VacinityItems?
When is HideTooltip1 called?

1 Like

Yes, the function is in WB_VacinityItems. And I call HideToolTip1 In my inventory component. whenever I close the inventory

Use the previously set value to make all the subsequent changes.

You save a copy of something, change it into something else, and then compain when it doesn’t work…

Also did you mean Vicinity by chance?

Oh and perhaps more importantly.
You are not saving a reference.
Not sure how you got that idea in the first place.

First of all, its not a reference, its a copy.
Second of all, its not being saved, its being stored in memory as a variable.

As far as the copy not being valid, could be heaps of things.
The guarante is the fact you didnt save any of the changes that you later made to it. How that fresh off instancing saved copy happens to be invalid, im not sure.

But if it’s items within the player vicinity that can disappear, well, then it’s likely possible you aren’t using things correctly since you have a copy of the widget and not a reference to it.

You seem a little irritated.

IM SORRY, I’m a beginner…

I thought when creating a widget
promoting it to a variable was a proper reference.

Yes. I meant Vicinity once again sorry,
for the misspelling.

I was always told a stupid question is a question not asked… thought this was what the forums were for… “Asking questions”. And I’m not complaining I’m trying to figure out what’s going on with my logic so I can fix it and maybe learn something… Ai can only teach you so much…

are you setting this item info widget variable in event construct of vicinity widget? or

All things that can be fixed.
Don’t be sorry (about stuff in general but especially ) for being a beginner - but do learn the right things and nomenclature.
Without it, no one will completely understand what you want.

I think I explained rather completely what is wrong with what you have - is there any part of it that doesn’t make sense/needs more info?

1 Like

No I’m setting it when I create the widget on mouse enter.

No, you did good. I’ll try and figure it out. Thanks