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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Resolution Note:
This is fixed in the Scriptable Build Pipeline package, supported in 2018.3 and later versions of unity.