Pressing the compile button in a blueprint can crash the editor with the following message:
Object 'REINST_Repro_Derived_C_1041 /Engine/Transient.World_11:PersistentLevel.Repro_Derived_C_0' is being used for execution, but its class is out of date and has been replaced with a recompiled class!
The setup to create this is as follows:
- Create a blueprint
Base
with a sphere collision component - Create a blueprint
Derived
derived from theBase
blueprint and add a child actor component to it - Create a blueprint
ChildActor
with a static mesh in it - Set the ChildActorComponent in blueprint
Derived
to beChildActor
- Press compile in the blueprint editor
You can get the three relevant blueprints here (or just create them):
- Base: https://drive.google.com/file/d/0B7XPClJTcL6GcFUwdVo3VDFpSlE/view?usp=sharing
- Derived: https://drive.google.com/file/d/0B7XPClJTcL6GczZ5Vmw0S2RpZFE/view?usp=sharing
- ChildActor: https://drive.google.com/file/d/0B7XPClJTcL6GNmhtZW5yMGQ5OFk/view?usp=sharing
Update
Just noticed the error is an ensure
rather than an assert
so you can continue from the break point as a work around.