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"

Cannot parse command line from plugin.

Repro steps:

Create a plugin and game source that runs the following:

FParse::Param(FCommandLine::Get(), TEXT("something")

as a normal c++ file part of the project this works fine.

as part of a plugin, it fails silently.

is this as designed?

Product Version: UE 4.13
Tags:
more ▼

asked Feb 10 '17 at 12:18 AM in Bug Reports

avatar image

BW6ense
36 3 5 7

avatar image BW6ense Feb 10 '17 at 09:33 PM

Just to add: Seems to work in the editor.

Does not work in a packaged build, both as an Engine plugin and as a Project plugin.

LogLinker:Warning: CreateImport: Failed to load Outer for resource is usually printed out in the log for the packaged build.

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

1 answer: sort voted first

"Plugin works in editor buy not packaged build"

Well this is frustrating.

The UPLUGIN was marked as "Developer" and needed to be "Runtime" to work in a packaged build.

My package settings are set to "Developing" but I'm going to guess that's unrelated.

Also the plugin manager does not allow you to change the plugin type, nor does the wizard when creating the plugin. this needs to be made much more obvious!!

Maybe the Log should also warn to check if you are running a developer only node during runtime, instead of just failing to load the resource???

Hope this helps someone else.

more ▼

answered Feb 13 '17 at 09:44 PM

avatar image

BW6ense
36 3 5 7

avatar image Tim C ♦♦ STAFF Feb 13 '17 at 10:14 PM

Hi BW6ense,

I am glad to hear that you were able to get past this issue. Newly created plugins are currently set to be "Developer" plugins instead of "Runtime" by default. A request was entered a little while ago to have Blueprint Library plugins default to Runtime instead (UE-38822). It looks as though this request may result in a closer look at the new plugin creation wizard to see how the process of creating a new plugin can be improved. Unfortunately there is no timeframe for when this will occur.

Tim

(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