Search Issue Tracker
Won't Fix
Votes
3
Found in
2017.4
2017.4.23f1
2018.4
2019.1
2019.2
2019.3
Issue ID
1170639
Regression
No
[AssetBundles] Sprite asset is built into the wrong AssetBundle
Reproduction steps:
1. Open "texturetest.zip" project
2. "Build" -> "AssetBundle"
3. Open the "...\*project folder*\build" folder
4. Use "WebExtract.exe" and "binary2text.exe" to extract the "prefab" file
5. Open the file in a text editor
6. Notice that "Sadcat.png" is present in the prefab bundle ("m_Name "sadcat" (string)")
Expected Result: "Sadcat.png" is not included in the Prefab AB, only in the Texture AB
Actual Result: "Sadcat.png" is included in the Prefab AB
Reproduced with: 2019.3.0a11, 2019.2.0b10, 2019.1.12f1, 2018.4.5f1, 2017.4.30f1
-
unity_-xVksTSNs-py8g
Nov 28, 2019 12:01
If you toggle 'sprite' texture back to 'default' all works as fine. set it back to 'sprite' again and it will be included with the material. Solution for now is to pack materials in same AB as your sprites.
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
This is fixed in the Scriptable Build Pipeline package, supported in 2018.3 and later versions of unity.