求助:Unity Sprite Editor自动切片后无法生成切片精灵至项目文件夹
Hey there, let’s work through why your sliced sprites aren’t showing up after hitting Apply in the Sprite Editor. I’ve dealt with this exact headache a few times, so here are the most reliable fixes to try:
Double-check your Texture Import Settings first
Make sure your texture’s Texture Type is set toSprite (2D and UI)in the Inspector—if it’s set toTexture 2Dor another type, the Sprite Editor won’t generate individual sprites no matter how you slice it. Also, confirm Sprite Mode is set to Multiple; Single mode will keep the texture as one single sprite, so slicing won’t split it up.Wait for the Apply process to fully finish
High-quality textures can take a second for Unity to process. After clicking Apply, keep an eye on the bottom-right status bar until the "Importing..." indicator disappears. If you closed the Sprite Editor too quickly, the changes might not have saved. Try reopening the editor, re-slicing, and waiting for the import to complete before closing again.Look for nested sprites under the original texture
Unity doesn’t create separate files for sliced sprites—they’re stored as child assets of your original texture file. In the Project window, click the small arrow next to your texture to expand it, and you should see all the individual sliced sprites listed there. If you were expecting new standalone files, that’s why you didn’t spot them!Reset slice data and re-slice
Corrupted slice settings can sometimes cause this issue. In the Sprite Editor, click the Slice dropdown menu, select Reset, then re-run the Automatic slice with your preferred settings. Hit Apply again and let the import process finish.Check the Console for import errors
Open the Console window (Window > General > Console) and look for any errors related to texture importing. Large high-quality textures might hit import limits or have format issues—try reducing the texture size slightly or adjusting the Compression setting in the Inspector to see if that fixes the problem.
内容的提问来源于stack exchange,提问作者Antun Jovanić

