x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Pak C++ plugin

I am creating a mod for my game, and I have trouble packaging the native classes of the plugin.

I am able to cook my plugin into a .pak, and use the blueprints/other assets in there in my game without issues, but the native classes are missing, giving me errors like this:

 [182]LogStreaming:Warning: FAsyncPackage::LoadImports for /OtherMod/B5: Skipping import Default__MyActor, depends on missing native class
 [AsyncLoading.cpp][Line: 2936] Missing dependency, request for MyActor but it hasn't been created yet.

I am guessing that the dll is not cooked into the .pak. I tried to put my plugin dll in the same folder as the game .exe, but no luck.

Is there a way to pack C++ plugins?

Product Version: UE 4.16
Tags:
more ▼

asked Jun 03 '17 at 05:15 PM in Packaging & Deployment

avatar image

deck57
16 1 5 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Unreal has functionality for dynamic load of DLLs, but I don't think you can call any functions from it without having the header compiled with the main game, for the signatures.

So perhaps a way would be to have your main code load DLLs created from the same base class, so the main game can know it. Then, for each different DLL, there'd be an extension of this base class that knows how to work with other new code. But I have no idea how you'd separate the compilation of DLC vs base code in Unreal. It compiles all code in the project for the base game. Unless you had DLC code in a separate project, but then the main one might not have the slightest idea on how to access it.

Usually DLCs are only new Assets, with classes based on classes from the base game only.

more ▼

answered Oct 30 '18 at 09:26 PM

avatar image

RVillani
1.1k 28 39 90

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question