Hi Everyone,
I am trying to make have two projects, One project generaete PAK file and let the other project mount and load at runtime.
First, I have an actor which contains a cube with a sample material and a texture in a folder.
Cook them and pack to an pak with out using IOStore and Deselected Shared material
Then, in the other poject, it will mount the Pak at start and then spawn this actor after 5 second.
Finally, it shows the cube, but the material seems has some error:
log shows:
[2023.07.20-09.22.09:275][516]LogPakFile: New pak file ../../../Test2/Content/Paks/0.pak added to pak precacher.
[2023.07.20-09.22.09:276][516]LogMaterial: Error: Tried to access an uncooked shader map ID in a cooked application
[2023.07.20-09.22.09:276][516]LogMaterial: Warning: Invalid shader map ID caching shaders for 'Cube', will use default material.
[2023.07.20-09.22.09:276][516]LogMaterial: Can't compile Cube with cooked content, will use default material instead
[2023.07.20-09.22.09:276][516]LogMaterial: Warning: [AssetLog] /Game/OSM_Project/Result/Cube.Cube: Failed to compile Material for platform PCD3D_SM6, Default Material will be used in game.