Addressables-Sample icon indicating copy to clipboard operation
Addressables-Sample copied to clipboard

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

Open KurogamiRyujin opened this issue 2 years ago • 1 comments

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 avatar May 24 '22 02:05 KurogamiRyujin

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".

KurogamiRyujin avatar May 24 '22 02:05 KurogamiRyujin