0

I've created an Editor Utility Widget blueprint in Unreal. This widget contains another widget blueprint that inherits Common Tab List Widget Base. This class needs OnInitialized to be called to set things up, but that method is never called. Why not? How can I get that call?

asked May 22 at 22:36

1 Answer 1

0

By default, OnInitialized doesn't get called if the widget is missing a player context, which is the case for Editor Utility Widgets because there are no players at edit time. See UUserWidget::Initialize.

You can cause OnInitialized to be called even if there is no player context by enabling "Can Call Initialized Without Player Context" in the Class Settings for any blueprints that need OnInitialized.

answered May 22 at 22:36
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.