[0.8.4] Case 1153775 - UnloadAssetBundle failed when camera with some rendertexture is in prefab

  • Prefab has a camera that has a rendertexture assigned to it.
  • Prefab is loaded then released

Exeptions:

Assertion failed on expression: ‘m_PreventLoadingFromFile != nameSpaceID’
UnityEngine.AddressableAssets.Addressables:Release(GameObject)
Test:Update() (at Assets/Test.cs:38)

UnloadAssetBundle failed
UnityEngine.AddressableAssets.Addressables:Release(GameObject)
Test:Update() (at Assets/Test.cs:38)

For some reason, this does not happen for all rendertexture files, but on files that it does happen it happens always.

thanks for making a case for this. we’ll look into it

I meet the same issue,I am using unity2018.4.11.f1, anyway to work around for now?

We encountered this issue as well in 2019.4.40 with Addressables 1.21.18
Removing the render texture from the asset bundle fixed the issue.