-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carla UnrealEngine changed files paths after using a newer Carla version #7714
Comments
Hey Patrick, In dev version of CarlaUE4 you should not have anything related to CarlaUnreal folder as it only belongs to ue5-dev. We are gonna release a document about how to work with Carla UE5 in next weeks. For now, we suggest you to do switch branch to dev, or an specific branch, do a git clean -fdx and continue working as you were until now. Please, do not mix 'dev' and 'ue5-dev' Apologizes |
Then this is so strange... nothing should have changed |
I believe the problem is, that the files I mention before have an absolute path to the Carla source version. I can look into it a bit deeper, if I have some free time. |
The problematic file is this one /apps/UnrealEngine_4.26/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Link-libUE4Editor-CarlaUE4.so.link.sh
After searching for the UE4_ROOT in BuildTools bash files, I found the following /apps/carla_source_0.9.15/Util/BuildTools/BuildCarlaUE4.sh
/apps/UnrealEngine_4.26/GenerateProjectFiles.sh
/apps/UnrealEngine_4.26/Engine/Build/BatchFiles/Linux/GenerateProjectFiles.sh
/apps/UnrealEngine_4.26/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Link-libUE4Editor-CarlaUE4.so.link.sh
I didn't looked up the second problematic file for now. |
Sorry for being late @PatrickPromitzer. |
You are Welcome. From the code I saw, I am not sure if you could stop creating the problematic file. I have 3 ideas, but someone have to check witch one works 1.) Generate the files each time you need it
You could just replace the "/apps/carla_source_0.9.15/" with the right path, too. (I did that to make it work) 2.) move the file into the project folder (maybe not possible) 3.) use a different file name for each installation |
Platform
Ubuntu 20.04
I am currently working with the Carla d version 0.9.15, and have the source version 0.9.14 and 0.9.13 as a backup.
I tested the Carla version 0.9.15.2, to see if some bugs (updated download link of the "Content.tar.gz" file) are fixed.
I tried to create a new Carla package with the Carla source version 0.9.15, and noticed that some paths in my local "CarlaUnreal/UnrealEngine" installation changed to the folder of the 0.9.15.2 installation path.
For example:
/apps/UnrealEngine_4.26/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Link-libUE4Editor-CarlaUE4.so.link.sh
line:12: mv "/apps/carla_source_0.9.15/Unreal/CarlaUE4/Binaries/Linux/libUE4Editor-CarlaUE4.so.temp" "/apps/carla_source_0.9.15/Unreal/CarlaUE4/Binaries/Linux/libUE4Editor-CarlaUE4.so"
line 13: chmod 644 "/apps/carla_source_0.9.15/Unreal/CarlaUE4/Binaries/Linux/libUE4Editor-CarlaUE4.debug"
/apps/UnrealEngine_4.26/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/libUE4Editor-CarlaUE4.so.psym
Line7: FILE 4 /apps/carla_source_0.9.15/Unreal/CarlaUE4/Source/CarlaUE4/CarlaUE4.cpp
After trying to create the Carla package, "make launch" didn't work anymore (it worked the last time it worked on my source installation).
Problem you have experienced:
The files in my local "CarlaUnreal/UnrealEngine" repository changed, or was linked to the local Carla repository.
What you expected to happen:
I expect the files in the CarlaUnrealEngine installation will not getting changed, except with a manual "git pull" call or other manual update.
or
Update the paths with each "make package" call.
The text was updated successfully, but these errors were encountered: