Workaround that fixed it for me (all UI materials, 50+ of them): The white material_block issue started for me after a UEFN update. Materials that worked before turned white in game, seemingly at random, but it was always the same materials. What I tested: - Reimporting the texture: no fix - Duplicating the material: still white, the copy keeps the broken data - Identical settings and nodes in a NEW material: works So the corruption is inside the old material asset files, not in the nodes or textures. The fix is to build brand-new material assets. This Python script (paste in the Python box at the bottom of UEFN) creates a new “_New” material for every material in a folder, copying the nodes and textures from the old one. Change F to your folder. Then Save All, point your Verse @editable fields to the _New materials, and test. Don’t delete the old materials, it breaks the Verse references. Ask Ai about help if this is hard to understand. Python:
exec(‘import unreal\nM=unreal.MaterialEditingLibrary\nP=unreal.MaterialProperty\nE=unreal.EditorAssetLibrary\nF=“/YourProject/YourFolder/”\nqs=[P.MP_EMISSIVE_COLOR,P.MP_OPACITY,P.MP_OPACITY_MASK,P.MP_BASE_COLOR]\ndef rebuild(s):\n name=s+“_New”\n if E.does_asset_exist(F+name):\n print(“EXISTS”,name); return\n src=unreal.load_asset(F+s)\n new=unreal.AssetToolsHelpers.get_asset_tools().create_asset(name,F[:-1],unreal.Material,unreal.MaterialFactoryNew())\n for p in [“material_domain”,“blend_mode”]:\n new.set_editor_property(p,src.get_editor_property(p))\n st=[M.get_material_property_input_node(src,q) for q in qs]\n nodes=[]\n while st:\n n=st.pop()\n if n is None or n in nodes: continue\n nodes.append(n)\n st+=list(M.get_inputs_for_material_expression(src,n))\n dup=[M.duplicate_material_expression(new,None,n) for n in nodes]\n for i,n in enumerate(nodes):\n ins=list(M.get_inputs_for_material_expression(src,n))\n names=list(M.get_material_expression_input_names(n))\n for j,x in enumerate(ins):\n if x is None: continue\n M.connect_material_expressions(dup[nodes.index(x)],M.get_input_node_output_name_for_material_expression(n,x),dup[i],str(names[j]) if j<len(names) else “”)\n for q in qs:\n n=M.get_material_property_input_node(src,q)\n if n is None: continue\n M.connect_material_property(dup[nodes.index(n)],M.get_material_property_input_node_output_name(src,q),q)\n M.layout_material_expressions(new)\n M.recompile_material(new)\n print(“BUILT”,name)\nfor a in E.list_assets(F[:-1],recursive=False):\n s=a.split(“.”)[-1]\n if s.endswith(“_New”): continue\n if isinstance(unreal.load_asset(a),unreal.Material): rebuild(s)’)
Epic, please look at why materials saved before the update break. Rebuilding every UI material by hand is not a reasonable workaround. The break in the ui materials seems to be somewhere we as users can’t see where the file breaks.