spear-sim / spear

SPEAR: A Simulator for Photorealistic Embodied AI Research
MIT License
243 stars 18 forks source link

Some materials are missing in `kujiale_0000` scene` (UE 5.2) #209

Closed RachithP closed 1 year ago

RachithP commented 1 year ago

Some materials appear to be missing in the kujiale_0000 scene (floor, roof, couch, dining table, etc): image

Some of the warnings that I'm getting in the output_log of the editor when I load this scene:

LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to load '/Bridge/MSPresets/M_MS_Default_Material/Functions/MF_MapAdjustments': Can't find file.
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: VerifyImport: Failed to load package for import object 'Package /Bridge/MSPresets/M_MS_Default_Material/Functions/MF_MapAdjustments'
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to load '/Bridge/MSPresets/M_MS_Default_Material/Functions/MF_Tiling': Can't find file.
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: VerifyImport: Failed to load package for import object 'Package /Bridge/MSPresets/M_MS_Default_Material/Functions/MF_Tiling'
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to load '/Bridge/MSPresets/MSTextures/BlackPlaceholder': Can't find file.
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: VerifyImport: Failed to load package for import object 'Package /Bridge/MSPresets/MSTextures/BlackPlaceholder'
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to load '/Bridge/MSPresets/MSTextures/Placeholder_Normal': Can't find file.
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: VerifyImport: Failed to load package for import object 'Package /Bridge/MSPresets/MSTextures/Placeholder_Normal'
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to load '/Bridge/MSPresets/MSTextures/WhitePlaceholder': Can't find file.
LogLinker: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: VerifyImport: Failed to load package for import object 'Package /Bridge/MSPresets/MSTextures/WhitePlaceholder'
LogMaterial: Warning: [AssetLog] C:\github\spear\cpp\unreal_projects\SpearSim\Content\MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset: Failed to compile Material for platform PCD3D_SM6, Default Material will be used in game.
    Missing Material Function
    Missing Material Function
    Missing Material Function

The functions in one of these materials (MSPresets\M_MS_Surface_Material\M_MS_Surface_Material.uasset) appear to be missing, and hence the connections are broken. image

Complete output log of the build + cook execution is here: output.txt Build + Cook command:

C:\>"D:\windows\UE_5.2\Engine\Build\BatchFiles\RunUAT.bat" BuildCookRun -project=C:\github\spear\cpp\unreal_projects\SpearSim\SpearSim.uproject -build -cook -targetPlaform=Win64 -target=SpearSim
RachithP commented 1 year ago

This issue occurs only on my local machine. With UE 5.x, Unreal installs Quixel Bridge plugin by default along with the Engine installation. On my system, I had knowingly/unknowingly uninstalled this plugin thinking it was not needed as I wasn't aware of this default installation behavior. The solution was to re-install it.

image