Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private enum BuildStatus
private string _packageName;
private int _versionCode;
private string _versionName;
private ScriptingImplementation _scriptingBackend;
private PostBuildCallback _createBundleAsyncOnSuccess = delegate { };
private IEnumerable<IAssetPackManifestTransformer> _assetPackManifestTransformers;

Expand Down Expand Up @@ -119,6 +120,7 @@ public virtual bool Initialize(BuildToolLogger buildToolLogger)
_packageName = PlayerSettings.GetApplicationIdentifier(BuildTargetGroup.Android);
_versionCode = PlayerSettings.Android.bundleVersionCode;
_versionName = PlayerSettings.bundleVersion;
_scriptingBackend = PlayerSettings.GetScriptingBackend(BuildTargetGroup.Android);

_assetPackManifestTransformers = AssetPackManifestTransformerRegistry.Registry.ConstructInstances();
var initializedManifestTransformers = true;
Expand Down Expand Up @@ -760,7 +762,12 @@ private void MoveSymbolsZipFile(string aabFilePath)

private string GetSymbolsFileName(string prefix)
{
#if UNITY_2022_1_OR_NEWER
// Unity 2022 started adding the scripting backend to the symbol zip's name
return string.Format("{0}-{1}-v{2}-{3}.symbols.zip", prefix, _versionName, _versionCode, _scriptingBackend);
#else
return string.Format("{0}-{1}-v{2}.symbols.zip", prefix, _versionName, _versionCode);
#endif
}

private static void CopyFilesRecursively(DirectoryInfo sourceDirectory, DirectoryInfo destinationDirectory)
Expand Down