Search Issue Tracker
Fixed in 5.5.0
Votes
5
Found in
5.2.2f1
Issue ID
738719
Regression
No
[AssetBundle] Wrong dependencies are recorded in a manifest file
This Zendesk ticket (see bottom of comments) has a lot more detail. We never solved this one.
An AssetBundle manifest file gets wrong dependencies to other AssetBundles, which isn't actually referenced from the assets in the AssetBundle.
This issue occurs when a reference to an object stays in the m_Modification field of the prefab.
Steps to reproduce:
1. Change the Asset Serialization mode in the Editor Settings to "Force Text".
2. Create a script which has a GameObject[] list property.
https://gist.github.com/keijiro/3d2ca854d014a470d8de
3. Create a prefab named "Prefab1" that has the script above. Set the AssetBundle name to "prefab1".
4. Create an empty prefab named "Prefab2". Set the AssetBundle name to "prefab2".
5. Add a reference to Prefab2 into the prefabList property in Prefab1.
6. Change the size of the prefabList to zero.
7. Build AssetBundles.
Then see prefab1.manifest. It has a dependency to Prefab2, even though the reference to Prefab2 was removed in the step 6.
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
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
unity_SRZXyHN7P3fFcA
Jul 02, 2021 16:44
I just got this same exact issue today on Unity 2020.3.
I was getting incorrect dependencies, which were due to previous content in a prefab that is no longer there. I had to remove some objects from the prefab and add them again and save in order to fix the asset bundle dependencies.
Salman86
Jun 07, 2019 06:35
Thank 's for sharing you this information through the article. you can ask any thing in this
add printer windows 10 help http://addprinterwindows10.com/ support service provider.
SimonFireproof
Aug 30, 2016 13:28
I am seeing the same bug in the .unity file.
jlevet
Jun 28, 2016 13:40
Bug due to m_Modifications fields, keeping history of changes, and AssetBundle dependencies are relying on this...