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"

UBT ERROR: Failed to produce item: dll after deleting classes

I tried to delete some c++ classes from my project following the instructions on this question: https://answers.unrealengine.com/questions/166179/how-do-i-remove-a-c-class-from-my-project-code.html

Now when I try to open the project I get a message that it can't find UE4Editor-Project_Name.dll and asks if it wants to rebuild. When it rebuilds it says the project can't be compiled and must be rebuilt manually. In visual studio I try to rebuild the project and it gives me the following error.

Tool : error : UBT ERROR: Failed to produce item: filepath\UnrealProjects\Project_Name\Binaries\Win64\UE4Editor-Project_Name.dll

I have found some people with similar problems, but their solutions haven't worked yet. Does anyone know how to fix this?

Product Version: Not Selected
more ▼

asked Sep 29 '18 at 06:44 PM in C++ Programming

avatar image

1 2 1

avatar image Spector235 Sep 30 '18 at 01:25 AM

UPDATE: I realized that the dll file is still in my recycle bin. I retrieved the file and placed it in the location it was expected to be in (this was the only file in the directory). When I built the project in VS it gave me the same error. When I reopened the directory, the dll file had vanished (and its not in my recycling bin anymore; the entire directory is empty now).

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

0 answers: sort voted first
Be the first one to answer this question
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