For example: I have a monoscript attached on LevelView prefab. whenever I change this monoscript(add a line) then run the “Check for Content Update Restrictions” it shows LevelView prefab has been changed.
For other prefabs, it gives the same result.
I dont want this happen. Is it a bug? Im using addressables 1.20.5 Unity 2020.3.36

Thanks for any reply
I had read the source code of addressable, I found out that addressable would add warning flag if any dependency of this asset had changed.
In my case, the monoscript is the prefab’s dependency. So when i change the monoscript, the prefab is flagged.
I dont know why does addressable design like this? And there is no optional case for user to choose.
Currently, at this point we know the script has changed, but not what. As such we will not know if the MonoScript is correct for the Prefab to load it. ie, Has the assembly namespace or classname changed.
However, I would advise against doing any script changes with an update build. The general workflow would look as follows:
-
Get ready to release the version of the app
-
Build Addressables (new build) [v1.0]
-
Build Player [v1.0]
-
Release the new builds
-
Make changes to content but not scripts. As the script are locked into the Player build
-
Build Addressables content update for build v1.0
-
Make changes to Scripts
-
Make an updated version of the app to have the script changes
-
Build Addressables (new build) [v1.1]
-
Build Player [v1.1]
-
Continue