Hi Ben, sorry for the delay, I had some issues getting UnrealVersionSelector working for my build.
I’ve managed to reproduce this locally, and I suspect you may have the same issue.
To link to a class from another module, it needs to have been exported via the API macro for that module; our new class wizard doesn’t add this, so you’ll need to add it to any public classes yourself. It will look something like this:
class MYCODEPROJECT_API AMyActor : public AActor
All in all, this has been a very useful question as it’s highlighted some flaws with our processes. I’m scheduled to make some improvements to the new class wizard, so I’ll make a note to ensure that the API macro is added to public classes by default; I’ve also raised a bug about making the process of adding a new module a lot easier.
I’ve also found that if you’re not using the Public/Private folder layout, then you can’t include your headers into another module (I assume you’re already using this layout since you only had linker errors). This is an issue that the core team is already looking at.