How to connect OnTextCommitted event to another function. (Mines not working)


I have confirmed the events on the left are being triggered. I have set a break point in the C++ code for the Get Building Cost function. This break point is never hit. Can anyone think of what might be wrong with my setup? Sorry if this seems silly, I’m new to Unreal. Thanks

is your game instance properly set ? from your project setting

Hey @Commander_Nimrod

Check if your cast to the GameInstance fails or check your BindOn events because that looks like you are binding the event to itself which then executes the event which binds itself…so create an array and then use a ForEachLoop with the BindOn for one event where you cast to your GameInstance. You would do this at EventBeginPlay

1 Like

Yes, the game instance is working correctly I have used it for other things.
@L1z4rD89 Not sure I understand what you are saying. I typed in On Text Committed Event and unreal created the Ontextcommitted_event and the bind to text committed event.

So I assume that is correct. I want any one of the 5 events to trigger the Get Building Cost function, but all attempts so far have failed.


you can remove the binding, and create the event his way.

and like [L1z4rD89] said, just make sure if the game instance is succeed or fail.

1 Like

I’ll give that a go, thanks.

That worked thanks.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.