Giter Club home page Giter Club logo

Comments (17)

nsubiron avatar nsubiron commented on May 16, 2024 3

It seems like the assets didn't download. Can you check your Content folder? "Unreal/CarlaUE4/Content", there should be about 12GB of assets. If that's not the case, you can download them from here and extract them in the folder.

from carla.

nsubiron avatar nsubiron commented on May 16, 2024 1

Hi,
Oh yes, this happens from time to time due to some system update. You need to recompile part of the Unreal code, it takes some time but that should fix it. You can force a recompile with the following

cd Unreal/CarlaUE4/
make CarlaUE4Editor ARGS=-clean
make CarlaUE4Editor

from carla.

sandman avatar sandman commented on May 16, 2024

When I proceed by selecting either yes/no, I get a further notification about some modules needed to be rebuilt for the correct engine version. Finally the compilation of CarlaUE4 fails. I've installed engine version 4.17 on Ubuntu. From windows, I downloaded the Automotive Materials for the 4.17 Engine Version.

from carla.

nsubiron avatar nsubiron commented on May 16, 2024

Hi,

Yes, this appears to be a bug appearing in Unreal 4.17, it happens to other plugins too. It is safe to ignore it, don't disable "Carla" plugin.

The second notification tells you that it needs to rebuild the code, in general you need to say "yes" to this one.

If compilation fails then something went wrong in the configuration process. Have you follow all the steps in the docs? Setup, then rebuild? Can you please do it again and get the log of the failing step?

  1. Run ./Setup.sh, it should print "Success" at the end.
  2. Run UE4_ROOT=~/UnrealEngine_4.17 ./Rebuild.sh, it should launch the Unreal Editor at the end.

Afterwards you may need to relink the materials.

from carla.

sandman avatar sandman commented on May 16, 2024

Hi,
Thanks for the tip and sorry for my delayed response. Yes, I followed all the steps in the docs. After following your instructions for the rebuild, I still get an error when trying to build Carla.

Step 1 is successful.
Step two fails with the below error: (it seems I need to rebuild the precompiled headers from UnrealEngine)

[2/11] Compile Module.Carla.cpp fatal error: file '/usr/include/linux/version.h' has been modified since the precompiled header '/home/sbg/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch' was built note: please rebuild precompiled header '/home/sbg/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch' fatal error: file '/usr/include/linux/version.h' has been modified since the precompiled header '/home/sbg/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch' was built note: please rebuild precompiled header '/home/sbg/UnrealEngine_4.17/Engine/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/Engine/SharedPCH.Engine.h.gch'

The full logs are shared at https://hastebin.com/bucatehivu.md

Does it mean I need to uninstall UnrealEngine and reinstall it again from scratch? Appreciate any pointers,

from carla.

sandman avatar sandman commented on May 16, 2024

Hi,
Thanks a lot for your help...The build is successful! The Unreal Editor launch however gets stuck at 71% - from the logs it seems that the linker is unable to find some scenario files. You mentioned relinking the materials - how can I do this before the Unreal Editor launches? I downloaded and copied the AutomotiveMaterials package into the Content/ directory of the Carla folder (~/carla-master/Unreal/CarlaUE4/Content/) as mentioned in the docs.

Relevant logs at: https://hastebin.com/hoveheboga.md

Really appreciate your support here!

from carla.

nsubiron avatar nsubiron commented on May 16, 2024

Hi @sandman,
It is usual that the first time you launch Unreal Editor it takes quite a lot to start, it needs to recompile all the shaders. Check your CPU usage, there should be several ShaderCompiler instances, if that's so, just wait, eventually it will finish and launch the editor.

I can't see the logs at the link you gave.

from carla.

sandman avatar sandman commented on May 16, 2024

Hi @nsubiron ,
My CPU usage is still quite low (< 10% average acrosss 8 cores) and I don't see the ShaderCompiler instances in my process list.

I see several errors of the following type:

[2017.11.28-10.47.28:482][  0]Error: CDO Constructor (CarlaMapGenerator): Failed to find StaticMesh'/Game/Static/RoadLines/St_Road_XCross_LaneMarking.St_Road_XCross_LaneMarking'

[2017.11.28-10.47.28:482][  0]Error: CDO Constructor (CarlaMapGenerator): Failed to find StaticMesh'/Game/Static/RoadLines/St_Road_XCross_LaneMarking.St_Road_XCross_LaneMarking'

The logs are shared at https://pastebin.com/Gnj1jJKh

I will keep it running for long now and see how it goes.

from carla.

sandman avatar sandman commented on May 16, 2024

Funny, I just had ~ 1 GB of data from the Automotive Materials package downloaded from UE Launcher in Windows. I downloaded the assets from your link and now it works! Thanks a lot for your help! Now on to some exploring :)

from carla.

nsubiron avatar nsubiron commented on May 16, 2024

Great, have fun :)

from carla.

vnmr avatar vnmr commented on May 16, 2024

zz

from carla.

vnmr avatar vnmr commented on May 16, 2024

zz

from carla.

vnmr avatar vnmr commented on May 16, 2024

we

from carla.

vnmr avatar vnmr commented on May 16, 2024

qwe

from carla.

vnmr avatar vnmr commented on May 16, 2024

three

from carla.

vnmr avatar vnmr commented on May 16, 2024

three

from carla.

vnmr avatar vnmr commented on May 16, 2024

three

from carla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.