Skip to content

Releases: Unity-Technologies/com.unity.services.samples.use-cases

Release 2.0.0

12 Feb 20:05
2609c52
Compare
Choose a tag to compare

Changed

  • The use cases are now compatible with the Deployment package an can now deploy most of their service configuration thanks to the Deployment window.
  • Reverted project to be on 2021.3 by default so that we enable an easier compatibility with all current LTS version.
  • For the sake of simplicity, ccd addressable features and the Over the Air Content use case have been removed. Addressables and CCD are demonstrated in a number of other samples already.
  • For the sake of simplicity, ads features and the Ads use case have been removed. Ads are demonstrated in a number of other samples already.

Fixed

  • Battle Pass README had the incorrect key name for its virtual purchase. The correct key name is BATTLE_PASS_PURCHASE.
  • Battle Pass README didn't list the entire Game Override content for the BATTLE_PASS_REWARDS_FREE and BATTLE_PASS_REWARDS_PREMIUM keys. That has been added in separate Game Overrides documentation files.
  • Seasonal Events README had the wrong name for its Cloud Code scripts. Both should start with the prefix SeasonalEvents_.
  • Removed legacy fields that prevented remote config to be parsed.
  • WebGL compatibility issues with Cloud Code and the Virtual Shop

Release 1.10.0

30 Oct 20:13
a5b801f
Compare
Choose a tag to compare

Changed

  • Upgraded the project from Unity Editor version 2020.3.46f1 to 2022.3.11f1.
  • Updated readme files to fit better default Economy configurations.
  • Updated readme files to fit better default Remote-Config configurations.

Release 1.9.1

29 Mar 22:31
Compare
Choose a tag to compare

Changed

  • Add popups to explain cause when client is forced back to the main menu in Serverless Multiplayer Game due to host leaving or kicking player out of lobby.
  • Turned off Interpolate in the Serverless Multiplayer Game to improve responsiveness in the game scene and reduce the 'host advantage' in gameplay. The flag is located in the player avatar prefabs' ClientNetworkTransform component.

Release 1.9.0

15 Mar 23:07
c1db4b3
Compare
Choose a tag to compare

Added

  • Serverless Multiplayer Game use case sample demonstrates how to utilize game lobbies and compete in a simple real-time arena-style game where players collect coins for points.

Changed

  • Upgraded the project from Unity Editor version 2020.3.20f1 to 2020.3.41f1.
    • Updated various non-UGS packages to their latest versions that are verified for Unity Editor 2020.3.41f1.
  • Removed RemoteConfigService.instance.SetCustomUserId() call from ClientVersionCheck.cs as calling that method is only necessary in very specific circumstances, and ClientVersionCheck is not one of those circumstances.
    You can see an example of a circumstance that is necessary for ABTestLevelDifficulty/RemoteConfigManager.cs.
  • Minor refactors to files to support newly applied linting rules.
  • Updated Unity Services packages to latest released as of 2023-03-13.

Release 1.8.1

09 Feb 22:01
58ca16b
Compare
Choose a tag to compare

Fixed

  • The BattlePass_ClaimTier.js, BattlePass_GainSeasonXP.js, and BattlePass_PurchaseBattlePass.js Cloud Code sample scripts were outdated and have now been updated to work with the latest backend data model described in the Battle Pass README.md file.
  • The Battle Pass README.md file now includes the required "service" fields in the examples for defining rewards in the Game Overrides section.

Release 1.8.0

09 Nov 23:56
Compare
Choose a tag to compare

Added

  • Added a Project Inbox feature to the Start Here scene that allows the UGS Use Cases Development team to send messages with updates about the project to our users.

Changed

  • Reformated namespaces to align with service namespaces and eliminate nested namespaces.
  • Added parameter types to all docs for Cloud Code scripts and improved overall table alignment in plain text editors.
  • Updated Unity Gaming Services packages and related packages to the latest stable packages released as of 2022-11-07.
    • Addressables updated from 1.20.5 to 1.21.1
    • Authentication updated from 2.0.0 to 2.3.1
    • Cloud Code updated from 2.0.1 to 2.1.2
    • Economy updated from 2.0.4 to 3.0.0
      • Replaced usages of deprecated property CustomData with newer property CustomDataDeserializable.
    • Mediation updated from 1.0.4 to 1.0.5
    • Remote Config updated from 3.1.3 to 3.2.2

Fixed

  • Fixed an issue in the Battle Pass where if an Economy error (such as a rate limit error) was generated while trying to claim a tier, the Cloud Code script was not properly throwing the error, and the tier was marked as claimed even though the reward was not given.

Release 1.7.0

13 Oct 02:41
d1dab22
Compare
Choose a tag to compare

Changed

  • The Idle Clicker Mini-Game has been extensively reworked to now permit merging and unlocking of wells. These features demonstrate upgrading units and a generic unlock manager which monitors in-game achievements to unlock new gameplay options as the game progresses.
  • Client Minimum version has been updated to 1.7.0 due to many breaking changes caused by renaming configuration entries in the backend, as well as revamp of the Idle Clicker use case.
  • Also note that if you have an existing player account, you should use the A/B Testing use case to sign out and in as a new player, due to Cloud Save keys being renamed.
  • Updated Unity Gaming Services packages to the latest stable group of packages released as of 2022-10-11.
    • Mediation updated from 0.5.1-preview.1 to 1.0.4
  • Updated other supporting packages to their latest verified versions (Test Framework, 2D packages, IDE packages).
  • Cloud Save keys have been updated in the Battle Pass, Command Batching, Loot Boxes with Cooldown, and Seasonal Events use cases to align with the naming conventions of the other use cases.
  • Updated UGS scripts, variables, virtual purchases, remote config items, etc. to include an appropriate prefix describing the Use Case which requires it. This change does not effect items used by multiple Use Cases nor does it effect Currencies.
  • Updated SeasonalEvents_GrantEventReward script to use a better practice when getting Cloud Save values to ensure the correct keys are saved to the correct variables.
  • Added some additional helpful information to the Over-The-Air use case's README documents.
  • Fixed minor title centering issue in popup messages.

Removed

  • Removed unused CloudCodeExceptionParsedMessage struct that was in most CloudCodeManagers.

Known Issues

  • Because of a potential compatibility issue with Xcode version 14 and CocoaPods (used by the Mediation package), this project may not run properly when built with Xcode version 14.

Release 1.6.0

25 Aug 22:40
Compare
Choose a tag to compare

Added

  • In-Game Mailbox use case which demonstrates a way that developers can send in-game messages to their players, including with gifts of various game currencies and inventory items, using Economy, Remote Config, Game Overrides, and Cloud Code.

Changed

  • Updated Unity Gaming Services packages to the latest stable group of packages released as of 2022-08-23.
    • Mediation updated from 0.5.0-preview.5 to 0.5.1-preview.1
    • Addressables updated from 1.20.3 to 1.20.5
  • Updated all Cloud Code scripts to use the most recent versions of the Cloud Code Service SDKs used within them.
    • Economy updated from 2.0 to 2.3
      • This update required changes to some method signatures.
    • Cloud Save updated from 1.0 to 1.2
    • Remote Config updated from 1.0 to 1.1
  • If a Cloud Code rate limit is reached, the exception log in the console now includes the RetryAfter value.

Fixed

  • Implemented a patch to the User Reporting tool to fix an issue that resulted in occasional memory leak and errors in the console.
    • Note: A newer version of the User Reporting tool is not yet publicly available, so this fix has been cherry-picked.
  • Implemented custom gradle settings files to prevent a dependency conflict warning when switching to the Android build target.

Release 1.5.1

26 Jul 21:09
48a4f78
Compare
Choose a tag to compare
  • Updated the Mediation package to 0.5.0.
    • This upgrade fixes unexpected warnings that were appearing in non-Mediation-related scenes.
    • The new version deprecated two sync methods in favor of async methods, so we're now using the newer async methods.
    • This upgrade makes a cleaner distinction between supported and unsupported platforms for Mediation.
    • When the build target is Android or iOS, rewarded ads will work normally. In other build targets, ads will be disabled.
  • Added a label to the Daily Rewards use case UI to indicate how many seconds are in a day.
    • Also decreased the day length from 30 seconds to 10 seconds.

Release 1.5.0

19 Jul 21:50
Compare
Choose a tag to compare

Added

  • Over-The-Air Content Delivery use case which demonstrates how you can use Cloud Content Delivery, Addressables, and Remote Config to download new content to a game while the game is running.

Changed

  • Updated Unity Gaming Services packages to the latest stable group of packages released as of 2022-07-18.
    • Changes to this project were not needed as a result of any of these updates.

Fixed

  • Fixed Daily Rewards use case so it doesn't fail if any currencies are missing custom data or addressable address.