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"

Resolving editor module dependencies, how?

I'm planning on extending the editor with a module. I have followed the setup mentioned in here: https://answers.unrealengine.com/questions/41509/extending-editor-engine.html . I also followed the instructions in wiki: https://wiki.unrealengine.com/Animation_Node,_Translate_With_Complete_Source_Code_and_Instructions . I have 2 modules, one for game and another for editor which contains the editor specific extensions.

Now the problem is that I'm unable to find a way to satisfy the dependencies for the editor module. Is there any instructions or documentation how can I dig up the appropriate modules to include?

The extended editor class I have is defined like below.

 #include "AnimGraphNode_BlendSpacePlayer.h"
 #include "Animation/AnimNode_DynamicBlendSpacePlayer.h" // My custom class
 #include "AnimGraphNode_DynamicBlendSpacePlayer.generated.h"
 UCLASS(MinimalAPI, dependson = AnimNode_DynamicBlendSpacePlayer)
 class UAnimGraphNode_DynamicBlendSpacePlayer : public UAnimGraphNode_BlendSpacePlayer

I know that the UAnimGraphNode_BlendSpacePlayer class is defined in AnimGraph module. However when I add it I get following error.

 1>LogCompile : error : Duplicate class name: UK2Node_BaseAsyncTask also exists in file /Script/OnlineBlueprintSupport
 1>C:/apps/Unreal Engine/4.6/Engine/Source/Editor/OnlineBlueprintSupport/Classes/K2Node_InAppPurchase.h(7): error : Superclass K2Node_BaseAsyncTask of class K2Node_InAppPurchase not found
  ... etc

I can get around this problem by adding AnimGraph into circular references, but then I get following error.

 1>E:/programming/projects/Unreal/FastOps/Source/FastOpsEditorExtensions/Classes/AnimGraph/AnimGraphNode_DynamicBlendSpacePlayer.h(7): error : Superclass AnimGraphNode_BlendSpacePlayer of class AnimGraphNode_DynamicBlendSpacePlayer not found
 1>Error : Failed to generate code for FastOpsEditor - error code: OtherCompilationError (2)
 1>  UnrealHeaderTool failed for target 'FastOpsEditor' (platform: Win64, module info: E:\programming\projects\Unreal\FastOps\Intermediate\Build\Win64\FastOpsEditor\Development\UnrealHeaderTool.manifest).

I couldn't find any mention of the parent class in the manifest. I have looked at AnimGraph's module dependencies but even adding those all to my own project I have not been able to make this compile. The latest setup I have build configuration is as follows. How can I find the appropriate modules to be added into my build config? Hopefully this is not something "you need to know".

 PublicDependencyModuleNames.AddRange(new string[] { "FastOps", "Core", "CoreUObject", "Engine" });
 PrivateDependencyModuleNames.AddRange(new string[] { "AnimGraph" });
 CircularlyReferencedDependentModules.AddRange(new string[] { "AnimGraph" }); 

EDIT Attached example source to reproduce the problem. Add these modules into your UE project and add following modules into the project file:

     "Modules": [
             "Name": "FastOps",
             "Type": "Runtime",
             "LoadingPhase": "Default"
             "Name": "FastOpsEditorExtensions",
             "Type": "Editor",
             "LoadingPhase": "Default"

Product Version: Not Selected
source.zip (114.1 kB)
more ▼

asked Feb 24 '15 at 05:49 PM in C++ Programming

avatar image

21 7 8 10

avatar image Ukkoprkl Feb 28 '15 at 02:54 PM

Any help on resolving the dependencies? I'm pretty much stuck with this and don't know where to look further..

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

1 answer: sort voted first

Managed to dig out the correct dependencies ("UnrealEd", "BlueprintGraph", "AnimGraph") for animgraph.

more ▼

answered Mar 15 '15 at 04:07 PM

avatar image

21 7 8 10

(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