To anyone that’s willing to help with this issue, is there a way to compile this plugin for Mac? I’ve been unable to successfully compile this plugin for Mac as Xcode ends up giving an error, even in blank projects.
I’ve modified the VictoryBPLibrary.uplugin to include Mac as a supported platform but haven’t had success with it running. First it’ll give an error of: cannot initialize return object of type ‘UStaticMesh *’ with an rvalue of type ‘bool’ on line 286 and 366. I change their return values to nullptr. But then I’m greeted with /Users/Shared/Epic Games/UE_5.2/clang:1:1 linker command failed with exit code 1 (use -v to see invocation)
Thing is I can’t see the log due to it failing the build so quickly that Xcode doesn’t log it.
To anyone that experienced a similar issue and was able to find a solution, can you please share your solution? Or is this a case of this plugin being exclusively for Windows and Linux?
Edit: The error specifically is: Undefined symbols for architecture arm64:
“UE::Geometry::FDynamicMesh3::~FDynamicMesh3()”, referenced from:
FCreateMeshObjectParams::~FCreateMeshObjectParams() in Module.VictoryBPLibrary.cpp.o
Edit: Fixed! I had to remove all references of DynamicMesh3, create mesh etc. Just keep chipping away at removing these until the errors are gone, this is more of an engine error rather than plugin. Great work Rama!