Clicking on a button in widget doest work

I have a widget with buttons, which by mouse click should teleport player to a certain location.


I dont get it, how can i reference to widget in the level blueprint or the opposite?
If i just force copy paste the following code to widget event graph this happens:

and i can’t save project, but somehow Teleport Actually Works that way!
I tried creating variable ref to a widget in level blueprint like that, but it doest work and i cant set it properly:

I just dont get it, please help)

Do you by chance have two copies of the editor open?

Nope)

Have you tryed to plug the white pin from the click event instead the red box?

Yea, first example looks fine to me…

Doesnt compile that way, but even if i pin both - not working

It even works, but that error comes every time i try to save with the following:

The main problem in here is that Actor (FirstFloor)
It says, idk why, that that actor is not relevant, from another map or something like that, but it’s not true)
Perhaps i need to reference to that actor somehow?

Are you using some sort of virtualized storage there? ( I notice the OneDrive ref ).

Nope, it’s just wierdo win11

1 Like

The only time I’ve seen that error is when two editors are open.

I hear you, only one.

Did you have a crash? ( could be a hanging process ). Might also be worth a reboot…

Did just now, did not help…

1 Like

I had that error when i imported a blueprint from marketplace. I just copied the content folder because i didnt knew the option “migrate”. Did you by any chance copied that from another project?

No, everything worked fine, there are a lot of blueprints that i created, non of them are from marketplace

Ok, in case someone struggle with the same issue, i found perhaps a dumb, but efficient solution)
I just tagged every single actor on lvl with different tags, everytime call them thru Get All Actors With Tag node, take 1-st (0) actor from array and then do standart teleport process.
If anyone have more humanized solution - welcome, glad to learn))