Description

After fixing the crash from [Link Removed] 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 to Questions & Answers just mention UE-82858 in the post.

1
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.224.23
CreatedOct 31, 2019
ResolvedAug 27, 2021
UpdatedAug 27, 2021
View Jira Issue