Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
0
Found in
6000.0.64f1
6000.3.2f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-130357
Regression
No
AssetDatabase.FindAssets() misses the edited Sprite Atlas when texture is re-imported
How to reproduce:
1. Open the attached “IN-127379” project
2. Find TextureX.jpg (Assets → AreaProcessor → Textures), modify and save it
3. Observe the console window
Actual result: The console only shows 3 sprite atlases
Expected result: The console shows 4 sprite atlases
Reproducible with: 2023.1.0a5, 6000.0.64f1 (5360b7cd7953), 6000.3.2f1, 6000.4.0b1, 6000.5.0a3
Could not test with: 2023.1.0a4 (on Mac this and older versions are very unstable)
Reproducible environment: macOS 26.1 (M1 Pro)
Not reproducible environment: No other environment tested
Notes:
- I suggest changing texture through external image manipulating program and exporting it to the same location
- “.spriteatlas” doesn’t have this issue only “.spriteatlasv2”
- AssetDatabase.FindAssets("t:SpriteAtlas") & Resources.FindObjectsOfTypeAll(typeof(SpriteAtlas) behave the same
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Modifying Sprites in OnPreprocessTexture will potentially create import issues and should be avoided in this case as Sprites are dependencies of SpriteAtlas.
This is suggested to be done during Build instead:
https://docs.unity3d.com/6000.3/Documentation/ScriptReference/Build.IPreprocessBuildWithReport.OnPreprocessBuild.html
Resolution Note (6000.5.X):
Modifying Sprites in OnPreprocessTexture will potentially create import issues and should be avoided in this case as Sprites are dependencies of SpriteAtlas.
This is suggested to be done during Build instead:
https://docs.unity3d.com/6000.3/Documentation/ScriptReference/Build.IPreprocessBuildWithReport.OnPreprocessBuild.html