Texure collapse in cooking

UE5.2

When I try to cook the free environment “CityPark” to Windows, the seems that the textures of all assets are lost and the environment is gray. The water is lost too.

Could anyone help me with this weird problem.

This is cooked leaves.

And this is cooked lake.

seems like the materials are not being cooked, or compiled.
looks like the default material.
as for why, i’m not sure. do you have a setting to ignore certain folder?
you can try going to project settings > package and force include certain folder.
it could be that the level or materials are not referenced at cook time.

Thank you.

I have cooked all assets of the project and it does not work. :sob:

All assets are cooked.


image

I am new to UE, and I am not sure if the reference of the texture could lose in the cooking. Is there any solution?

yes, cooking the project excludes assets that are not referenced.
try looking at the docs for cooking and packaging.

try the suggestions on my previous post. maybe they help. otherwise it’s pretty rare issue.

Unfortunately, after packaging and forcing include all folders, the problem still exists. :face_with_spiral_eyes:

are you able to upload the logs?
the logs during packaging, and the logs on runtime. it’s on the Saved folder.
maybe there are some errors during packaging.

CityParkLite.log (347.7 KB)
Some warnings appear but it seems that they are not related with this project

thanks. i don’t see any errors.
i see a few of these lines
LogTexture: Display: /Engine/EngineMaterials/Black_1x1_EXR_Texture_VT.Black_1x1_EXR_Texture_VT is marked for virtual streaming but virtual texture streaming is not available.

i won’t expect that to cause the material to be missing. but it might be worth to disable virtual texture on the material or enable support in the project.

i also find these weird. i havent come across them before.
PackagingResults: Warning: Engine.ini:[Core.System]:Paths entry ‘../../../Engine/Plugins/Experimental/VirtualHeightfieldMesh/Content’ is not mounted. Skipping it.

do you have the logs for when you run your game?

Actually, I do not have any logs in running game. The cooked environment is loaded in another platform called Rflysim to provide a simulation environment for drones and the platform does not give any logs.

I will try to open the virtual texture.

are you able to run your game locally?
as other option, you can try running on standalone Playing and Simulating in Unreal Engine | Unreal Engine 5.5 Documentation | Epic Developer Community

Sure, I can.

There is no problem in this mode

are you talking about standalone?

what about packaging and running locally?
if that works, then it’s a problem with

I will try to open the virtual texture.

After opening the virtual texture, the problem still exists. It may be due to “Rflysim”.

Thank you anyway.

dui bu qi, i could not help you better.
i hope you find a solution.
try talking with the people at RFLYSim.
also try creating a different project or isolate which material cause issues.
if you have a material that works, and other that doesn’t, then you have something to check. see what’s the difference between them.