Open DaemonBeast opened 10 months ago
Attempting to load the same asset bundle from different instances of EmbeddedAssetBundleProvider results in the following error:
EmbeddedAssetBundleProvider
The AssetBundle 'IO.Stream' can't be loaded because another AssetBundle with the same files is already loaded.
This is due to the caching mechanism being isolated to each instance. https://github.com/DaemonBeast/Mitochondria/blob/14920e86a0bbd94303a392ae5bb83b271f79e8ff/Mitochondria/Framework/Resources/AssetBundles/EmbeddedAssetBundleProvider.cs#L29-L40
This can be fixed by having a shared caching system.
Attempting to load the same asset bundle from different instances of
EmbeddedAssetBundleProvider
results in the following error:This is due to the caching mechanism being isolated to each instance. https://github.com/DaemonBeast/Mitochondria/blob/14920e86a0bbd94303a392ae5bb83b271f79e8ff/Mitochondria/Framework/Resources/AssetBundles/EmbeddedAssetBundleProvider.cs#L29-L40
This can be fixed by having a shared caching system.