yes it look ok, inside event you don’t have to do anything its a simple event.
make sure your current interactions around array is empty at the beginning.
When there is something in the array on overlap it needs to check its distance and prioritize as CurrentPrioritizedInteraction
on event tick you can check current interaction name always to diagnose -debug what is wrongly setup.
Cause if scanner is correctly assigning a valid interaction and ui says cannot find it. You should first check the interaction is really valid and if its why ui says null.
as you can see current interaction on widget ui is assigned from the event
make sure its type correct as InteractionComponent
JisanDavis
(JisanDavis)
August 27, 2025, 4:42pm
22
Event pre construct →Branch(isDesignTimer)→False →SetVisibility(Collapsed)
like in my scripts lets start with that first. That should clear that errors.
JisanDavis
(JisanDavis)
August 27, 2025, 5:44pm
24
2025-08-27 23-41-17.mkv (13.0 MB)
your correction reduced the errors a bit, and it was still showing some error for the print string node so I just disabled it and it reduced some more errors.
Try to start your character a little away from the interaction. Seems its working already but since you start already overlapping it is causing bug.
Simply you can delay until next tick in your scanner on begin play here somewhere or uncheck update overlaps if issue persists.
JisanDavis
(JisanDavis)
August 27, 2025, 8:07pm
26
Moved the TestInteractionActor_BP far from me and did some slight fixes and the error is now redirecting me to this node:
It is like the only thing that I did differently from you cause I can’t find the set text node you were using.
Can you show how you added that set node?
And you told me to make sure that CurrentInteraction is not null, I don’t know exactly which value I need to change for it to be not null.
And how do I delay until next tick in my scanner on begin play? or uncheck update overlap? Can you demonstrate it
Just make update overlaps like below so if player starts already overlapping has less problems
For text setting drag a pin from the text block variable (InteractionLabel for example) and write text.. under content its set text.
Nodes are context sensitive so some nodes if you cannot find, try dragging a pin from the node and try to search like that. It is a common practice.
do these 2 and update forum thread if you have more problems around it. Its ok.
JisanDavis
(JisanDavis)
August 27, 2025, 10:59pm
28
2025-08-28 04-52-56.mkv (12.9 MB)
this time
the widget is showing in the edit mode ✓
I managed to use the pink set node that you were using ✓
but this time the engine crashed when I tried to reach the TestInteractActor_BP ×
did I mess up the variable types? I mean in the InteractionComponent, it is in string type but in InteractionPrompt_WBP I set their type to Editable Text Object Reference
its just a regular text block of umg
JisanDavis
(JisanDavis)
August 28, 2025, 2:16pm
30
bro finally it worked! just had to change the ‘variable’ and ‘set node’ type to “text object reference” instead of “text editable object reference."
I was using the set node that required variable of type “text editable object reference” the whole time.
1 Like
Great keep doing, practice makes it perfect!
1 Like