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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Adding new class that derives from plugin class


I am using a plugin in a Unreal C++ project. I am trying to create a new class that derives from a class in the plugin. When I use the unreal wizard to do so, the generated source file has compiler errors complaining about how the super class cannot be found.

How can I include the library and dll files from the plugin in my project? I'm new to unreal and unsure if there are extra steps involved. I have included the plugins dll and lib files in the VS project's Include Directories and Library Directories.

Product Version: Not Selected
more ▼

asked Dec 23 '14 at 12:02 PM in C++ Programming

avatar image

60 5 11 17

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Bring the code into your project. The whole point of a plugin is that you can compile your code with or without it. What I was asking would have made it not a plugin in the true sense.

more ▼

answered Mar 10 '15 at 04:55 PM

avatar image

60 5 11 17

avatar image Stunt Thumper May 07 '15 at 06:23 PM

Where you able to create a plugin class as a base class and another plugin class that inherits it? Can u show a code snippet? I'm struggling with this.

avatar image plockhart May 07 '15 at 10:01 PM

In the end, what I did was I created a new class that could act completely independently from any plugin. Then, I created a blueprint that called methods on this independent class depending on what the plugin's own blueprints etc were doing, thus acting like a mediator between the plugin and my new class.

I understand this might not be what suits your project, but thankfully I was able to get away with it.

(comments are locked)
10|2000 characters needed characters left

I had the same problem using RunebergVRPlugin. I wanted to derive a pawn class from RunebergVR_Pawn and there were compile errors. I had tried many things including adding paths in the project settings, but nothing worked. Finally I found the following page on the wiki and at first it did not solve my problem. So I undid all my experiments, removed paths from project settings and did only what the wiki page said and finally my project compiled.


FYI: Even though everything compiles, there are errors showing on the VS Error List window and squiggly lines are showing from missing intellisense. There are no errors in the Build Output though, so seems better than not compiling at all.

more ▼

answered Jul 08 '17 at 09:20 PM

avatar image

Modeus Games
121 10 8

(comments are locked)
10|2000 characters needed characters left
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