Description

After fixing the crash from UE-82407 when compiling the child blueprint that has claimed the component name the parent was previously using without having compiled the parent, an internal compile error will be reported.

Compiling the parent and then compiling the child works just fine.

In general, it seems correct that if a parent has been structurally modified, any attempt to compile a child blueprint should recompile the parent first.

Steps to Reproduce

Steps: Start a new blank BP project.

  1. Create class Alpha, extend it with child Beta.
  1. In Alpha, add a component, call it 'Crash'. Compile, save.
  1. In Beta, add a component, call it 'NoCrash'. Compile, save.
  1. In Alpha, delete 'Crash'. Do not compile, do not save, do not close window.
  1. In Beta tab, (Crash should still be visible) rename 'NoCrash' to 'Crash'.
  1. Compile Beta

Note the compile error Internal Compiler Error: Tried to create a property Crash in scope Beta_C, but another object (ObjectProperty /Game/Alpha.Alpha_C:Crash) already exists there.

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-82858 in the post.

0
Login to Vote

Unresolved
ComponentGameplay - Blueprint
Affects Versions4.224.23
CreatedOct 31, 2019
UpdatedNov 1, 2019