Struct forward delcaration
I was using TArray to access material property values, and I forward declared "struct FTextureParameterValue;", it compiles fine, it works fine, until I try to package the plugin which has this code in it, it failed, and I've located this error:
And MSDN actually has documented this compiler error: Compiler Error C2139
But it works fine before packaging, so I think that's a bug, I'm currently including "MaterialInstance.h" in my class header file and it solves this packaging error.
asked Jul 24 '17 at 11:50 AM in Bug Reports
I received this error once, and it was because a TArrray did not have all members to be UPROPERTY(). If the TArray is referenced from outside its definition file, this error can occur. This error is a little misleading for me. Hope this bit of info helps.
answered May 14 '18 at 06:09 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here