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"

Project can't find Cable Component .dll

I'm trying to spawn a cable component in c++ from the plugin to use as a rope attached to a harpoon. I tried adding the CableComponent module as a hard dependency, and that let me use ACableActor.h in my #includes, but when I start the editor, It crashes saying that I UE4Editor-CableComponent.dll is missing.

If I copy and paste the .dll from the Engine directory into my binaries, SpawnActor still can't retrieve ACableActor's static class. Is there an easy solution to this other than resorting to blueprints?

In HarpoonProjectile.cpp

 void AHarpoonProjectile::OnActorBeginPlay()
     UWorld* const World = GetWorld();
     if (World)
         FActorSpawnParameters SpawnParams;
         SpawnParams.Owner = this;
         SpawnParams.Instigator = Instigator;
         Rope = World->SpawnActor<ACableActor>(FVector(0.f, 0.f, 0.f), FRotator(0.f, 0.f, 0.f), SpawnParams);
         if (Rope)


 using UnrealBuildTool;
 public class WhaleDefence : ModuleRules
     public WhaleDefence(TargetInfo Target)
         PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "CableComponent" });
         PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore", "CableComponent" });

Product Version: Not Selected
more ▼

asked Aug 17 '14 at 04:04 AM in C++ Programming

avatar image

53 9 12 20

avatar image Tim C ♦♦ STAFF Aug 22 '14 at 09:38 PM

Hi Tarwine,

Could you provide some more information about the issue you are experiencing?

  • What version of the Editor are you using?

  • Are you using a binary version of the Editor installed through the launcher, or did you build it from source code?

  • Could you provide the callstack and crash logs?

  • What code do you have in the .h file for your HarpoonProjectile class?

Please see this page for more information that may be helpful to us.

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

1 answer: sort voted first

Hi Tarwine,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

more ▼

answered Sep 08 '14 at 10:50 PM

(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