Search Issue Tracker
Won't Fix
Votes
1
Found in
2021.2.0a7
2021.2.3f1
2022.1
2022.2
Issue ID
1383167
Regression
Yes
Sprites references are not set back when deleting and re-creating Visual Files that are sliced
Reproduction steps:
1. Open the attached project "1383167.zip"
2. Open Assets > Scenes > SampleScene
3. Save Assets > "vents" asset to your device
4. Delete Assets > "vents"
5. Import duplicate "vents" image to the Assets folder
6. Select Assets > "vents"
7. In the Inspector change Sprite mode to Multiple
8. Open Window > 2D > Sprite Editor and slice "vents"
9. Observe results in Scene View
Expected result: Sprite references are set back
Actual result: Sprite references are missing
Reproduced with: 2021.2.0a7, 2021.2.9f1, 2022.1.0b5, 2022.2.0a3
Not reproduced with: 2019.4.35f1, 2020.3.27f1, 2021.2.0a6
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Resolution Note:
Once you delete an asset inside Unity, Unity stops tracking that asset and will not promise to keep any references or settings for that asset. If an asset is later added with the same name, it should be considered a coincidence that any references remains from a previously deleted asset.
Our suggested approach is that you replace an image file, rather than deleting and adding it again, to make sure all settings and references are kept intact inside Unity.