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
Comments (1)
-
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
- MultiColumnTreeView does not auto-expand foldouts when autoExpand is set to "true"
- Animation does not control the property of the Gameobject when the keyframe and initial value are the same
- Decal Technique set to Automatic prefers the DBuffer option when using OpenGL
- Brush Size in the Inspector window does not update when the Brush Size in Scene View is changed
- "ArgumentOutOfRangeException" errors are thrown every time a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
Resolution Note:
This is fixed in the Scriptable Build Pipeline package, supported in 2018.3 and later versions of unity.