As part of our build script, we temporarily manipulate the PlayerSettings.applicationIdentifier like this:
The problem is that even after reverting the applicationIdentifier to the previous value (or just skipping...
Reset the Override Default Package Name checkbox in Player Settings
Code (CSharp):
- string old = PlayerSettings.applicationIdentifier;
- PlayerSettings.applicationIdentifier = old + "foobar";
- ...do the build pipeline and stuff...
- PlayerSettings.applicationIdentifier = old;
- AssetDatabase.SaveAssets(); // force everything to save
Reset the Override Default Package Name checkbox in Player Settings