Skip to content

Commit

Permalink
com.utilities.buildpipeline 1.5.5 (#43)
Browse files Browse the repository at this point in the history
- fix VisionOS bundle version number
  • Loading branch information
StephenHodgson authored Oct 17, 2024
1 parent 3823ba1 commit 18f1a29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Editor/UnityPlayerBuildTools.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ public static BuildReport BuildUnityPlayer()
PlayerSettings.Lumin.versionName = PlayerSettings.bundleVersion;
// Update WSA bc the Application.version isn't synced like Android & iOS
PlayerSettings.WSA.packageVersion = new Version(version.Major, version.Minor, version.Build, 0);
#if UNITY_2023_3_OR_NEWER
PlayerSettings.visionOSBundleVersion = PlayerSettings.bundleVersion;
#endif // UNITY_2023_3_OR_NEWER

var buildTargetGroup = UnityEditor.BuildPipeline.GetBuildTargetGroup(buildInfo.BuildTarget);
#if UNITY_2023_1_OR_NEWER
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "Utilities.BuildPipeline",
"description": "The Build Pipeline Utilities aims to give developers more tools and options when making builds with the command line or with continuous integration.",
"keywords": [],
"version": "1.5.4",
"version": "1.5.5",
"unity": "2019.4",
"documentationUrl": "https://github.com/RageAgainstThePixel/com.utilities.buildpipeine#documentation",
"changelogUrl": "https://github.com/RageAgainstThePixel/com.utilities.buildpipeine/releases",
Expand Down

0 comments on commit 18f1a29

Please sign in to comment.