I’m a bit new to plugin development, so it’s entirely possible I’m making a really basic mistake. I have a game plugin in which I am trying to procedurally create a skeletal mesh. I’m trying to call: FStaticLODModel::InitResources, which compiles fine, but then I get a linker error for it being unresolved. According to the docs, this code looks like it’s in the engine module, so I’ve included it (along with several others) in the dependencies list in my Build.cs file. I’m even setting them in both the public and private dependencies to just try and get it working:
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "RenderCore", "ShaderCore", "RHI", "Renderer" });
PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "RenderCore", "ShaderCore", "RHI", "Renderer" });
Any ideas?