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"

Custom UK2Node doesn't compile in development mode

I have a custom UK2Node ( UK2Node_Switch ) and my code doesn't compile in Development mode while it does compile in Development Editor mode.

In the build.cs file the following dependencies are added (a lot of them to be safe) :

 PublicDependencyModuleNames.AddRange(new string[] {
         "Core",
         "CoreUObject",
         "Engine",
         "InputCore",
         "UnrealEd",
         "BlueprintGraph",
         "GraphEditor",
         "Kismet",
         "KismetCompiler",
         "PropertyEditor",
         "SlateCore",
         "Slate",
         "EditorStyle",
     });
     PrivateDependencyModuleNames.AddRange(new string[] {
        "Core",
        "CoreUObject",
        "InputCore",
        "Slate",
        "Engine",
        "AssetTools",
        "UnrealEd",
        "KismetWidgets",
        "KismetCompiler",
        "BlueprintGraph",
        "GraphEditor",
        "Kismet",
        "PropertyEditor",
        "EditorStyle",
        "Slate",
        "SlateCore",
        //"MovieSceneCore",
        "Sequencer",
        "DetailCustomizations",
        "Settings",
        "RenderCore"
     });


The error is the following :

Cannot open include file: 'K2Node.generated.h': No such file or directory

UPDATE: I found an answer on the forums that might help, I haven't tried it out myself yet, but perhaps someone else can try it out: https://answers.unrealengine.com/questions/41509/extending-editor-engine.html

Thanks for any useful input that may help in order to solve this issue!

Product Version: UE 4.18
Tags:
more ▼

asked Feb 20 '18 at 05:42 PM in Packaging & Deployment

avatar image

vetlevo
26 2 3

avatar image vetlevo Mar 05 '18 at 09:05 AM

My current solution, which isn't really a solution, was to not use this functionality.

If anyone figures out how to extend K2Node for editor augmentation and be able to generate the code from this augmentation in a development or shipping build, please provide an answer :)

V.

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

1 answer: sort voted first

We seems to have the same problem, I'd really like to have some answer from an Epic staff. Noone really found a solution about this error.

more ▼

answered Mar 06 '18 at 08:01 AM

avatar image

Kvyosh
22 5 4 11

(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