I’m working on eliminating warnings when cooking content for my project and have been running into strange warnings where the cooker is looking for files that don’t exist and aren’t referenced (or so I thought) by anything. Turns out that the references were coming from material files saving references to whichever static mesh has last been chosen as the preview mesh in the Material Viewport in the Material Editor.
Is there any way to clear this reference? Changing the preview from a mesh asset back to a sphere or cube and closing the material editor has no effect. Reopening the material in the editor will default back to showing the preview mesh. To fix my warnings I can have the materials in question reference other existing mesh assets, but i’d prefer a permanent solution. It seems silly that a material asset should hold a reference to a mesh asset at all.
If anyone knows of anything I can do to permanently remove any references to static meshes from these materials, please let me know. I’m out of ideas, short of trying to edit the hex by hand. This is with engine version 4.4 (upgraded from 4.3).
Thank you!
^^ Reference viewer shows the material->mesh asset reference when I make the couch knights wood shield material reference the fireball mesh in my project.