Hi, after adding an ActorComponent written in C++ to ThirdPersonCharacter and closing the project, it stops opening. This is Component:
Source Code: .h:
CraftStructs.h(using in CraftComponent.cpp):
PLEASE HELP, THANKS.
You can try using LoadObject instead of Constructor Helpers. But it’s possible LoadObject may not work in the constructor. If that’s the case, you can move it to the virtual InitializeComponent function instead.