Hi Everyone, here is an alternative way to do it if the previous post’s steps do not work:
Here are simple steps to take (not the cleanest method, but it gets the job done): You will need Visual Studio 2017 at minimum (up to you to ensure you’re on at least the minimum version). This also comes without support or warranty.
-
Open a new C++ project in 4.24 (blank with no starter content is all you need).
-
Create a new plugin (I used Third Party Library template) Name the plugin DonAINavigation. Close the project.
-
Go to the project folder in the filesystem and open Plugins folder. Delete the Source, Content, and Resources folders. Intermediate and Binaries do not matter because that is POST packaging… You can leave them there, will not hurt and will not cause any errors.
-
Copy the DonAINavigation Source, Resources, and Content folders from the 4.23 Engine\Plugins\Marketplace\DonAINavigation folder (I described this in an earlier post) and paste them into the Plugins folder from step 3.
-
In the DonAINavigation folder in the ENGINE structure (from step 4) open the DonAINavigation.uplugin file using a text editor and copy its contents. In the project’s Plugins\DonAINavigation folder, there is also a DonAINavigation.uplugin file. Open that, delete everything inside, and paste from the contents you copied.
-
VERY IMPORTANT! In that text, there is field called: EngineVersion, and it should have a value of “4.23.0” with the quotes. Change the 4.23 to 4.24. Save and close the .uplugin file, and close the source file as well.
-
Open the project. It may ask if you want to update the project file. Nothing wrong with clicking OK.
-
Open Plugins, find the new plugin with the familiar icon and click Package (little tiny text right in the middle of the plugin box). It will ask for a location to output the package contents. You can put it anywhere (simply create a new folder in the project root, call it PLUGINPACKAGE). Make sure either the folder is highlighted, or, you have entered the folder and click Select Folder.
-
The packaging process should start. It may take a few minutes to completely package the plugin.
-
When done, DELETE the contents of the project’s plugins folder, and paste the DonAINavigation folder from the output into the Plugins folder. Open the project.
-
If done correctly, open Plugins and see if the plugin is enabled, if not, enable it, restart the engine, and see if you can access the API. If so, go to step 12 to make it available for all projects using 4.24.
12 Close the project, CUT the DonAINavigation folder from the project’s Plugins folder and paste it in 4.24 Engine \Plugins\Marketplace.
- Open any project using 4.24, and you should have the plugin available for use (may need to enable it). Now the plugin will be available engine wide.
IF YOU GET AN ERROR C1853 IN THE LOG, GO HERE: [SOLVED] fatal error C1853 on Plugin Packaging only - C++ Gameplay Programming - Unreal Engine Forums
You’re Welcome.