Using CommonUI Widgets in a c++ based based blueprint causes "Failed to load Outer for resource"

  1. Create a new project (First Person Template, C++ version, no starter content)
  2. Enabled CommonUI plugin (and restart engine)
  3. Create a new widget extending CommonActivatableWidget (it can be empty) lets call it TestA
  4. In BP_FirstPersonCharacter add a blueprint script (needed to open full blueprint editor) that does “Event BeginPlay” → “Create Widget (TestA)”
    Restart Editor

image

Now I get the error:
CreateExport: Failed to load Outer for resource ‘WidgetTree’: WidgetBlueprintGeneratedClass /Game/FirstPerson/Blueprints/TestA.TestA_C

And I can’t open TestA anymore. And BP_FirstPersonCharacter has compile errors.

Removing the script in BP_FirstPersonCharacter and restarting lets me open TestA again.

image

Reproduced in 5.3.0 preview 1 and 5.2.1
Windows 10

My question here is: Am I doing something wrong or is this just a bug?

Hi there @Rezonance,

This topic has been moved from Feedback to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing!