Batch edit group schemas

Is there currently a way to batch edit the group schemas? There seems to be a few occasions where my group schema will be reset or randomly change. It would be nice to be able to select a bunch of them and fix the schemas.

It looks like there might be a way to do it. You can select a few of them and the inspector shows a list of schemas that you can edit, but the options you can select from look like nonsense gibberish schemas. I’m not sure where its getting those from or if that is what we want to edit.

Any clarification on that?

Unfortunately, me too.

            foreach (AddressableAssetGroup addressableAssetGroup in groups) {
               
                var schema = addressableAssetGroup.GetSchema<AssistiveAssetGroupSchema>();
                if (schema == null) {
                    schema = addressableAssetGroup.AddSchema<AssistiveAssetGroupSchema>();
                }

                if (useGroupOption) schema.assistiveGroup = groupOption;
                if (useGenerateOption) schema.generateType = generateOption;

                EditorUtility.SetDirty(addressableAssetGroup);
                EditorUtility.SetDirty(schema);
            }

So, we created a simple script for editing…