Download

Bug in create new class c++

When you create for ex: MaterialInstanceActor class, 2 events missing:
.h



virtual void PostLoad() override;
virtual void PostEditChangeProperty(FPropertyChangedEvent & PropertyChangedEvent) override;


.cpp



void ASky_material::PostLoad()
{

}

void ASky_material::PostEditChangeProperty(FPropertyChangedEvent & PropertyChangedEvent) {

}


If these functions don’t exist, this will happen:

Fix for all classes.
Thanks!