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"

Wrong Paths for generated include files

Tested in Visual studio only with Development Editor:x64 configuration with 4.20.3 Engine version (github:release)

When UnrealBuildTool generate Include Search Paths All generated files searches in wrong places.

Used ${PROJECT}Editor directory instead of UE4Editor and Project folder instead of Engine folder

I wrote temporary fix script for fixind it, but i forced to use it every updates of project files.

 ENGINE_PATH=$1
 PROJECT=$2
 
 echo $PROJECT
 echo $ENGINE_PATH
 
 PRJFILE="Intermediate/ProjectFiles/${PROJECT}.vcxproj"
 
 sed -e "s/${PROJECT}Editor\\\Inc\\\\${PROJECT}/UE4Editor\\\Inc\\\\${PROJECT}/g" -e "s/\.\.\\\Build\\\Win64\\\\${PROJECT}Editor/${ENGINE_PATH}\\\Intermediate\\\Build\\\Win64\\\UE4Editor/g"    -e "s/\\\\${PROJECT}Editor\\\/\\\UE4Editor\\\/g" ${PRJFILE} > ${PRJFILE}.tmp
 
 mv ${PRJFILE}.tmp ${PRJFILE}
Product Version: UE 4.20
Tags:
more ▼

asked Sep 21 '18 at 08:24 PM in Bug Reports

avatar image

TehnoMag
23 3 4 8

avatar image Jeff A ♦♦ STAFF Sep 24 '18 at 07:48 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks

avatar image Fliblet Dec 03 '18 at 07:14 PM

Hey, I think I'm having the same problem as you. My project's looking for the C: folder but I use the D: instead. Could you explain your solution a bit more please? I'm still new to unreal and don't exactly know what to do with your code. Thanks.

avatar image Fliblet Dec 04 '18 at 02:12 PM

Hey, I think I'm getting the same error as you, I'm using a D: drive but the project is looking for the C: drive instead. Could you explain your solution a little more? I'm still new to unreal and don't know where to put this. Thanks.

avatar image TehnoMag Dec 04 '18 at 06:10 PM

Hey. Honestly, I don’t think this is a problem with mine. The problem described above appears only when compiling the game code in Visual Studio. However, if you describe your problem in detail with an individual, the community, including myself, will be happy to help you solve it.

But if I'm wrong, you can use my script (I updated it for version 4.21, you can take it from my github: https://github.com/TehnoMag/Unreal-Engine-4-Patches/blob/master/projectfix.sh ).

It is quite simple to use. You will need install a Bash interpreter (I recommend the msys2 assembly: https://www.msys2.org/). After that, edit the script for yourself: in ENGINE_PATH, specify the full path to the engine directory (as in the example) In PROJECT specify the name of the project (like uproject file named). The script itself put in the directory with the project and run with bash (from msys2 console).

(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