So this is confusing me.
If I create a new custom Actor by using the wizard in the editor, the stub code it generates uses a simple AMyActor::AMyActor() constructor.
However since I am making a plugin, I have to add code by hand as the wizard can’t add to that. So I created my custom actor by hand, reference code here and there to figure out what I needed. The odd thing though is that my actor inside the plugin requires a completely different constructor in order to link, and I don’t get why? In both cases they directly inherit from AActor so why would they be different?
In the plugin it has to be AMyActor::AMyActor(const FObjectInitializer& ObjectInitializer)