Skip to content
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

Vehicles missing textures #18

Closed
nsubiron opened this issue Nov 10, 2017 · 5 comments
Closed

Vehicles missing textures #18

nsubiron opened this issue Nov 10, 2017 · 5 comments
Assignees
Labels
bug ue4 Requires changing code or blueprints in the Unreal Engine project

Comments

@nsubiron
Copy link
Collaborator

Sometimes after adding the automotive materials and relinking them as in the documentation the textures fail to render.

Seems to be some weird issue with Unreal failing to recompile the shaders. Triggering a recompile solves the issue but doesn't seem to be an intuitive way of doing so (not forcing to recompile every shader which takes a long time).

Also seems to happen more often when you have several CARLA projects active in the same machine, probably because some intermediate files are shared among projects.

@nsubiron nsubiron added the bug label Nov 10, 2017
@nsubiron
Copy link
Collaborator Author

A workaround could be to open "M_Carpaint" and move some nodes around then press "Apply", but yet it seems that some assets have to be opened in editor too to trigger the recompilation, (opening a car's skeletal mesh and the intermediate materials redirecting carpaint seems to work).

@xevo-vstojkovic
Copy link

I have the same problem, but triggering the recompilation of shaders didn't resolve the issue. Using prebuilt binaries works fine. Any idea how to work around this?

@nsubiron
Copy link
Collaborator Author

Sometimes the asset needs to be open in the editor when you recompile the shader. Try opening one or more of the cars' skeletal meshes at "Static/Vehicles/4Wheeled/", then trigger the recompilation again. It is a weird issue.

@xevo-vstojkovic
Copy link

Thanks, I can confirm that deleting the Unreal/CarlaUE4/DerivedDataCache directory, running the editor and opening one of the skeletal meshes in Static/Vehicles/4Wheeled works.

@nsubiron
Copy link
Collaborator Author

nsubiron commented Apr 3, 2018

Closing this as we no longer use Epic's Automotive Materials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ue4 Requires changing code or blueprints in the Unreal Engine project
Projects
None yet
Development

No branches or pull requests

4 participants