I want to create a new asset type and I’m following this guide: http://www.wraiyth.com/?p=209
When I add the Factory class to the project it will build fine in the editor. However, when I build from Visual Studio I get the following error:
>UnrealBuildTool : error : Unable to instantiate module 'UnrealEd': Unable to instantiate UnrealEd module for non-editor targets.
The guide suggests adding ‘UnrealEd’ to the project Build.cs file, but it doesn’t make any difference.
Any ideas?