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. 

The Blueprint Library in my plugin is not usable.

The Blueprint Library in my plugin is not usable after I packaged the game,but it can work in the UE4 Editor. Why ? Have anyone met this question?

Product Version: UE 4.12
Tags:
more ▼

asked Jul 20 '16 at 02:32 AM in Blueprint Scripting

avatar image

joly-zjl
25 2 5 6

avatar image fabianu Jul 20 '16 at 07:05 AM

Could you please describe your error in more detail. What is the exact error when you try to use the Blueprint Library in the packaged game?

avatar image joly-zjl Jul 21 '16 at 10:01 AM

No error. For example,a function void Test(bool ℜs){ Res = true;}. The function work well in the UE4 Editor. I print the result of calling Test. The result will be "false" in the packaged game.

avatar image joly-zjl Jul 21 '16 at 10:23 AM

I have made a plug-in which containes the BlueprintLibrary.The plugin is Engine plugin.I put my plugin into the "Engine/Plugins/Runtime/" folder. I called the function of the Blueprint library and print it on the screen. It worked well ,when i played in Editor.But it didn't work in the packaged game,it print the default value on the screen.

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

1 answer: sort voted first

I may be misinterpreting your question but one thing does come to mind. Check your plugin.uproject file. See if the "Type" parameter is set to "Runtime". If not, change it to that. It defaults to "Developer" (or maybe "Editor" for your plugin type) but to be included in a packaged build, it has to be set to "Runtime".

more ▼

answered Oct 16 '16 at 10:29 PM

avatar image

Jin_VE
4.4k 32 77 42

(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