Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.0f3
Issue ID
941168
Regression
No
[Asset Bundle] Material references unused Assets in Unity Asset Bundle Browser tool
Unused asset (in this case - texture) is added to Configure list as if it will go to an Asset Bundle (but it will not).
Steps to reproduce:
1. Open attached project (demo.zip)
2. Create a New material (Shader = Standart)
3. Change Assets/unity.png Texture Type to "Normal map"
4. Open Assets/New Material and change Normal map to Assets/unity.png
5. Change Shader to Unlit > Color (so the material would become white). At this point Assets/New Material is expected not to be added to the Asset bundle
6. Add New Material to a new Asset Bundle "testbundle"
7. Window > AssetBundle Browser > Build > Build
8. Window > AssetBundle Browser > Configure
Expected behavior: no "unity.png" entry as it was not used in New Material after performing step 5.
Actual result: there is "unity.png" entry. However, if we open Window > AssetBundle Browser > Inspect, we can see that "unity.png" was not added to "tesbundle".
Reproduced with: 5.6.3f1, 2017.1.0p5, 2017.2.0b8.
Note:
Get Unity Asset Bundle Browser tool here: https://docs.unity3d.com/Manual/AssetBundles-Browser.html
Comments (1)
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
artofcode
Aug 04, 2018 13:25
Why is this marked as won't fix?
I'm encountering this as well and it's causing a serious headache where all sorts of asset bundles are dependant on stuff it doesn't even use.