How to batch-process imported assets with a single prompt
Wann einsetzen: You have 200 new textures and want consistent import settings, mip maps, and atlas placement.
Voraussetzungen
- Unity project open, plugin installed — unity-mcp-cli install-plugin ./MyUnityProject or import the .unitypackage
- An MCP client configured — Point Claude Desktop or Cursor at the local MCP server printed by the CLI
Ablauf
-
Audit current settingsList every texture in Assets/Textures/UI. Show current TextureImporter settings grouped by the values used.✓ Kopiert→ Groups by settings — mostly consistent with outliers flagged
-
Apply a policyFor all of them set compression=HighQuality, filter=Bilinear, mipmaps=false. Reimport.✓ Kopiert→ Progress log + final consistent state
-
Verify visuallyTake a screenshot of Scene MainMenu from the default camera — confirm nothing looks broken.✓ Kopiert→ Screenshot returned, sanity-check passes
Ergebnis: Uniform import settings across a folder + a screenshot trail.
Fallstricke
- Reimport blocks the editor domain reload — Save scene first; don't issue unrelated commands until reimport is done