I am really struggling while writing a plugin for the editor because I keep ending up with chunks of code that won’t compile, due to errors in the engine itself. Now I know these aren’t problems in the engine code, the real problem is that my plugin needs to add some magical pieces to the build script, as well as to its PCH in order for the pieces to work.
The problem though is, how are you supposed to know what to add?
First I had problems extending ACameraActor, and that was fixed by adding “Engine.h” to my Plugin’s PCH and adding “Core” to the build script. I luckily stumbled upon that in Google. Now I am having similiar issues with IPropertyTypeCustomization throwing errors and I have absolutely no idea what I need to add for that to work.
How am I supposed to determine this? I can’t find anything in the documentation anywhere