How can I reference UFastNoise object?
The plugin FastNoise found here seems that I should be able to create an object like here in it's non UE4 version. So I created a UProperty UFastNoise* myNoise; Then in .cpp I created myNoise = CreateDefaultSubobject(TEXT("Noise")); I've also added "UnrealFastNoisePlugin" to my build.cs. When I build I get the error
error LNK2019: unresolved external symbol "private: static class UClass __cdecl UFastNoise::GetPrivateStaticClass(wchar_t const )" (?GetPrivateStaticClass@UFastNoise@@CAPEAVUClass@@PEB_W@Z) referenced in function "public: class UFastNoise * __cdecl UObject::CreateDefaultSubobject(class FName,bool)" (??$CreateDefaultSubobject@VUFastNoise@@@UObject@@QEAAPEAVUFastNoise@@VFName@@_N@Z)
asked Sep 12 '16 at 05:19 PM in C++ Programming
I added UNREALFASTNOISEPLUGIN_API to the UCLASS macro for all the header files in the plugin. This solved my problem
answered Sep 13 '16 at 03:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here