Skip to content

Commit

Permalink
Update SequenceConfig such that it fetches the waas version from the …
Browse files Browse the repository at this point in the history
…package.json anytime we are in editor. Previously, it would fetch from the text file but this file is only updated when building so anyone testing and upgrading in editor will have the wrong version sent to the api (#194)
  • Loading branch information
BellringerQuinn authored Dec 3, 2024
1 parent 169e9cb commit 16d55b3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ public static SequenceConfig GetConfig()
{
_config.WaaSVersion = $"1 (Unity {PackageVersionReader.GetVersion()})";
}

#if UNITY_EDITOR
_config.WaaSVersion = $"1 (Unity {PackageVersionReader.GetVersion()})"; // version file is only updated when building
#endif
}

if (_config == null)
Expand Down

0 comments on commit 16d55b3

Please sign in to comment.