AetheriaBuild: qualify UnityEditor.PlayerSettings (the game has a global PlayerSettings); Unity .meta files
The previous commit did not compile in Unity (CS0117 on PlayerSettings.bundleVersion); this one does, and a batchmode run of AetheriaBuild.Build succeeded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
b997b80f81
commit
e5a57dab9f
3 changed files with 5 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ public static class AetheriaBuild
|
|||
var repoRoot = Directory.GetParent(UnityEngine.Application.dataPath).FullName;
|
||||
|
||||
step = "version";
|
||||
PlayerSettings.bundleVersion = version;
|
||||
UnityEditor.PlayerSettings.bundleVersion = version; // the game has its own global PlayerSettings
|
||||
|
||||
step = "addressables";
|
||||
AddressableAssetSettings.BuildPlayerContent(out var content);
|
||||
|
|
|
|||
2
Assets/Editor/AetheriaBuild.cs.meta
Normal file
2
Assets/Editor/AetheriaBuild.cs.meta
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: d38caad223051494ba36c734ce79950d
|
||||
2
Assets/Editor/PlayerStaging.cs.meta
Normal file
2
Assets/Editor/PlayerStaging.cs.meta
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 16dce8087f9149b44b6e294cb0851dd8
|
||||
Loading…
Reference in a new issue