I’ve create a new ‘blank project’ with starter content in UE 5 preview 2.
I’ve Added a couple of Actor class cpp files and they appear in the content browsers, I can create Blueprints with them as base class and use the blueprint in the map.
The .CPP Actor classes are boilert plate autogenerated code. I’ve changed/added/removed nothing.
working just fine.
BUT, after I reload the project, I’m getting these error for the blueprint:
CreateExport: Failed to load Outer for resource 'DefaultSceneRoot_GEN_VARIABLE': BlueprintGeneratedClass /Game/StarterContent/BP_Something.BP_Something_C
CreateExport: Failed to load Outer for resource 'SimpleConstructionScript_0': BlueprintGeneratedClass /Game/StarterContent/BP_Something.BP_Something_C
CreateExport: Failed to load Outer for resource 'SCS_Node_0': SimpleConstructionScript /Game/StarterContent/BP_Something.BP_Something_C:SimpleConstructionScript_0
CreateExport: Failed to load Outer for resource 'SCS_Node_1': SimpleConstructionScript /Game/StarterContent/BP_Something.BP_Something_C:SimpleConstructionScript_0
CreateExport: Failed to load Outer for resource 'Pillar_50x500_GEN_VARIABLE': BlueprintGeneratedClass /Game/StarterContent/BP_Something.BP_Something_C
CreateExport: Failed to load Outer for resource 'DefaultSceneRoot': BP_Something_C /Game/StarterContent/Maps/Minimal_Default.Minimal_Default:PersistentLevel.BP_Something_C_1
CreateExport: Failed to load Outer for resource 'Pillar_50x500': BP_Something_C /Game/StarterContent/Maps/Minimal_Default.Minimal_Default:PersistentLevel.BP_Something_C_1
Taking a look in the BP the parent class is “None” (before reloading the project it was not None)
The .cpp files are not showen in the content browser and appear only after I click “Recompile and reload c++ code for game systems on the fly”
and even then, the BP is still missing the parent class and I cannot reassign the .cpp class as parent.
tried it on another empty UE5 preview 2 project - same issue.
Using windows 10, Visual studio community 19 (v 16.11.11),
in 4.24 and VS 17 I don’t have this issue and it works as expected!