Hi,
We have a big problem with addressables which is very frustrating. After a Git merge prefabs marked as “Addressable” seem to lose their addressable setting sometimes. Sometimes it’s every single prefab, sometimes it’s a handful of prefabs.
My team has become used to running the program to find which prefabs error out when loaded and go mark them as addressable again after a git merge.
We haven’t been able to pinpoint the exact cause of this issue. Is there something we should add to our gitignore? Has anyone else experienced this?
Thanks for any input.
Seems like checking the Addressable checkbox isn’t enough for git to recognize a change. However, rebuilding the addressables through the Groups menu seems to detect a change in git to what is addressabel? Maybe this is how we fix this problem? We’ll see…
Did you get the problem fixed @tate_mccormick ?
Yes…in a way.
We wrote a simple editor tool which adds a menu option that let’s us run the following code. We do this before we make a Git commit. Seems like simply checking the addressable option on our prefabs doesn’t register as a change in Git, so when we run this code, git picks up the change.
AddressableAssetSettings.CleanPlayerContent(AddressableAssetSettingsDefaultObject.Settings.ActivePlayerDataBuilder);
AddressableAssetSettings.BuildPlayerContent();