Unity-Technologies / Addressables-Sample

Demo project using Addressables package
1.29k stars 298 forks source link

Removing a Specific Child Object in a Content Update Causes an Error. #77

Open KurogamiRyujin opened 2 years ago

KurogamiRyujin commented 2 years ago

I posted this on the Unity Forums https://forum.unity.com/threads/unusual-behaviour-removing-a-specific-child-object-in-a-content-update-causes-an-error.1285517/ but I decided to put this as an issue for people to notice here.

The details are in the link above. To summarize the context and the problem: Context: Using Addressables with remote content delivery via Google Cloud Storage (Bucket created using Firebase) and testing it with Unity-chan package fbx models. Steps:

  1. Create a prefab with the "unitychan" 3D fbx model as a child object.
  2. Build content, upload content into cloud, build player, and play on Android to see it all work fine.
  3. Update the prefab by changing the child object "unitychan" 3D fbx model into something else. A sphere, cube, or whatever.
  4. Update existing build and upload it to cloud.
  5. Play on Android.

Expected result: prefab is updated with whatever was replaced. What happens: Addressable scene does not even load and this error appears in the Android logcat: image

KurogamiRyujin commented 2 years ago

For further context, I am using Addressables version 1.20.00, which I updated just yesterday thinking it would resolve the problem but it didn't.

P.S. Misclicked the "Close with Comment".