So I created a plugin in c++, this plugin has a component (header placed in its Public/ folder and source files placed in its Private/ folder) here’s the class :
I’d like to create a component on an actor coded in my game’s folder (the game will serve as a demo for my plugin) here’s the actor I’m trying to use the component on :
Check that the plugin is a dependency in YourGame.Build.cs file.
Make sure that the UMyCaptureComponent class is correctly exported with the YOURPLUGIN_API macro in its declaration, which is required to export the symbols for the linker.