Search Issue Tracker
Fixed in 5.2.0
Votes
0
Found in
5.0.1p3
Issue ID
694683
Regression
No
AssetDatabase.GetAssetPathsFromAssetBundle Only Returns Assets Explicitly Included in the AssetBundle
Reproduction steps:
1. Open attached project "AssetBundlePaths"
2. From the editor menu select AssetBundles -> Dependencies
3. This will log AssetDatabase.GetAssetPathsFromAssetBundle for each AssetBundle in the project
4. Notice that only the folder ("Editor Default Resources") which is assigned to an AssetBundle is logged.
Assets inside this folder ("Cube" and "Sphere"), which will be included in the AssetBundle are not logged.
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
- Metal Vertex Shader warning is being thrown when creating a VR Template Project
- Asset database warning is thrown when declaring font variable in the USS text file
- Memory Leak warnings are thrown when opening an imported Prefab
- Crash on mono_push_other_roots when setting Normal Thread Affinity
- Editor exits Play mode when another project is being created using Unity Hub 3.8.0-beta.1
sao
Sep 23, 2015 12:14
This "Fix" actually messed up our AssetBundle pipeline completely.
It happens namely very often that someone from the team assigns a folder to an AssetBundle by mistake and previously it wasn't a big issue, the folder was detected during an automated build and discarded.
Now, because of just one folder added to an AssetBundle by mistake we have hundreds of textures, materials and other files added in AssetBundle without purpose and even no chance to detect if it's because of a folder, because surprisingly the folder itself isn't listed in AssetDatabase.GetAssetPathsFromAssetBundle anymore!
Previous explicit AssetBundle marking makes definitely much more sense and isn't misleading or time consuming.
Moreover changing the API (instead of adding a new method for the requested feature) was a very bad move!