Skip to content

Releases: Unity-Technologies/com.unity.multiplayer.samples.bitesize

v1.9.0

01 Nov 00:43
022594f
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.9.0! Thank you for your continuous support!

We'd like to announce the promotion of the Distributed Authority Social Hub Sample!

Distributed Authority Social Hub Sample

social_hub_sample_banner

This sample is built with the Distributed Authority topology, showcasing recommended approaches to designing gameplay features with the new framework inside Netcode for GameObjects v2.0 in tandem with the Multiplayer SDK. This sample serves as the educational entry point for users who are looking to implement a similar networking topology inside of their projects.

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

Distributed Authority Social Hub

Changed

  • This sample is no longer "Experimental", and it has been moved into the "Basic" folder

Editor Version

  • Editor is 6000.0.24f1

Dependencies

Packages
  • "com.unity.netcode.gameobjects": "2.1.1",
  • "com.unity.multiplayer.tools": "2.2.1"
  • "com.unity.multiplayer.playmode": "1.3.1"
  • "com.unity.services.multiplayer": "1.0.0"
  • "com.unity.inputsystem": "1.11.1"
  • "com.unity.render-pipelines.universal": "17.0.3"

Full Changelog: v1.8.0...v1.9.0

v1.8.0

23 Oct 10:28
5d31025
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.8.0! Thank you for your continuous support!

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.8.0] 2024-10-23

Multiplayer Use Cases

Added

  • The last page of the "Data/Event Synchronization" tutorial redirects to the "Proximity Checks" tutorial
  • Imported TextMeshPro essentials so you don't have to do it

Changed

  • Updated project to Unity 6
  • All inputs are handled through the new Unity Input System
  • In-Game UI is now responsive and adapts to screen size
  • Replaced 3rd party ParrelSync package with Unity's Multiplayer Play Mode
  • Disabled compatibility mode for RenderGraph, as it's going to be deprecated and throws warnings
  • Removed runtime network stats monitor from the scene to improve readability
  • Removed deprecated visual studio code package
  • Updated packages: Rider to 3.0.31, Input System to 1.11.1, Tutorial Framework to 4.0.2, Multiplayer Tools to 2.2.1, Netcode For GameObejcts to 2.0.0, UGUI to 2.0.0, Test Framework to 1.4.5, Universal Render Pipeline to 17.0.3

Fixed

  • Fixed "Build Profile" window not being clickable during the last page of each tutorial

Full Changelog: v1.7.0...v1.8.0

image

v1.7.0

30 Aug 08:41
0ec575c
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.7.0! Thank you for your continuous support!

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.7.0] - 2024-08-31

Bitesize Samples Repository

Added

  • Added a "Deprecated" folder for samples that are no longer supported

Invaders

Changed

  • This sample is now "Deprecated"

Multiplayer Use Cases

Changed

  • This sample is no longer "Experimental", and it has been moved into the "Basic" folder
  • In-game UI now uses UIToolkit instead of UGUI
  • Updated README to provide a clear path to the onboarding resources in case a user closed the Tutorial window

Editor Version

  • Editor is 2022.3.27f1

Dependencies

Packages

Dedicated Game Server

Changed

  • Upgraded project to Unity 6000.0.3f1
  • Updated dedicated server packages to 1.1.0
  • Updated Netcode For GameObjects version to 1.8.1, and replaced RPCs using the new workflow provided

Editor Version

  • Editor is 6000.0.3f1

Dependencies

Packages

Full Changelog: v1.6.0...v1.7.0

v1.6.0

30 May 19:35
cf39fb1
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.6.0! Thank you for your continuous support!

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.6.0] - 2024-05-30

Bitesize Samples Repository

Cleanup

  • Formatted .cs files inside the Bitesize Samples repository to adhere to coding standards (#156) Internal testing job definition files were added in order for internal processes to execute.

2D Space Shooter

Added

  • Added local pooling for explosionParticles to optimize performance and showcase built-in pooling component (#167)

Changed

  • Upgraded to IDE Rider v3.0.28 (#166)
  • Upgraded to Unity 2022.3.27f1 (#170)
    • upgraded to com.unity.burst v1.8.13
    • added com.unity.modules.jsonserialize v1.0.0
    • upgraded to com.unity.render-pipelines.core v14.0.11
    • upgraded to com.unity.render-pipelines.universal-config v14.0.10
    • upgraded to com.unity.shadergraph v14.0.11
    • upgraded to com.unity.services.authentication v2.7.4
    • upgraded to com.unity.services.qos v1.3.0
    • upgraded to com.unity.transport v1.4.1
    • upgraded to com.unity.services.core v1.12.5
  • Upgraded to Netcode for GameObjects v1.8.1 (#174)
    • Upgraded to the newer API for Rpcs, Universal Rpcs
    • Upgraded to newer API for Connection Events, OnConnectionEvent

Fixed

  • Reset values and buffs after respawn of ship (#167)

Editor Version

  • Editor is 2022.3.27f1

Dependencies

Packages

Client Driven

Changed

  • Upgraded to Netcode for GameObjects v1.8.1 (#164)
    • Upgraded to the newer API for Rpcs, Universal Rpcs
    • The place of execution for a client's position was moved to ClientNetworkTransform child class, ClientDrivenNetworkTransform. This ensures no race condition issues on a client's first position sync. Server code now modifies a NetworkVariable that client-owned instances of ClientDrivenNetworkTransform use on OnNetworkSpawn to initially move a player
    • Upgraded to use NetworkObject.InstantiateAndSpawn() API where appropriate (#173)
  • Upgraded to IDE Rider v3.0.28 (#166)
  • Upgraded to Unity 2022.3.27f1 (#175)
    • com.unity.render-pipelines.core upgraded to v14.0.11
    • com.unity.services.authentication upgraded to v2.7.4
    • com.unity.services.core upgraded to v1.12.5
    • com.unity.services.qos upgraded to v1.3.0
    • com.unity.transport upgraded to v1.4.1

Fixed

  • Added Spawner with event executed on Server Start to fix inconsistent ghost ingredients issue (#157)

Editor Version

  • Editor is 2022.3.27f1

Dependencies

Packages

Dynamic Addressables Network Prefabs

Changed

  • Upgraded to IDE Rider v3.0.28 (#166)
  • Upgraded to Unity 2022.3.27f1 (#176)
  • com.unity.transport upgraded to v1.4.1

Fixed

  • Releasing an Addressables handle on OnDestroy inside Preloading scene to prevent releasing loaded dynamic prefab from memory (#179)

Editor Version

  • Editor is 2022.3.27f1

Dependencies

Packages

Invaders

Changed

  • Upgraded to IDE Rider v3.0.28 (#166)
  • Upgraded to Unity 2022.3.27f1 (#169)
  • Upgraded to Netcode for GameObjects v1.8.1 (#172)
  • Upgraded to the newer API for Rpcs, Universal Rpcs
  • Upgraded to the newer API for NetworkObject spawning to use NetworkObject.InstantiateAndSpawn
  • Upgraded usage of NetworkManager.OnClientConnectedCallback to the new NetworkManager.OnConnectionEvent

Fixed

  • Optimized NetworkTransform on all networked prefabs so the Clients objects movements are closer to the Host ones (#168)

Editor Version

  • Editor is 2022.3.27f1

Dependencies

Packages

Full Changelog: v1.5.0...v1.6.0

v1.5.0

15 Dec 20:40
4787992
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.5.0! Thank you for your continuous support!

We'd like to also announce the new Bitesize Samples Experimental Folder, along with its first addition, the Multiplayer Use Cases sample!

Experimental samples are new samples or experimental modifications made to mature samples.
Learn more about the goal and purpose of experimental samples here.

Experimental Sample: Multiplayer Use Cases Sample

WelcomeDialog

This is a sample project that provides a series of scenes, each aimed at explaining a specific API or system commonly used in Netcode for GameObjects. In this sample, you will learn more about client-server communication, state synchronization, and other typical mechanics of multiplayer games.

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.5.0] - 2023-12-15

Dynamic Addressables Network Prefabs

Changed

  • Upgraded to Netcode for GameObjects v1.7.1 (#147)
  • Upgraded sample to 2022.3.14f1 LTS (#147)

Editor Version

  • Editor is 2022.3.14f1

Dependencies

Packages

2D Space Shooter

Changed

  • Upgraded to Netcode for GameObjects v1.7.1 (#147)
  • Upgraded sample to 2022.3.14f1 LTS (#147)
  • Upgraded Samples Utilities package to v1.8.0 (#151)

Fixed

  • Corrected the variables used for initialization of Health and Energy (#150)
  • Converted unnecessary ship thrust NetworkVariable to a float (#149)
  • Fixed non-host clients not hearing the Fire SFX (#148)

Editor Version

  • Editor is 2022.3.14f1

Dependencies

Packages

Client Driven

Changed

  • Upgraded to Netcode for GameObjects v1.7.1 (#147)
  • Upgraded sample to 2022.3.14f1 LTS (#147)
  • Upgraded Samples Utilities package to v1.8.0 (#151)

Editor Version

  • Editor is 2022.3.14f1

Dependencies

Packages

Invaders

Changed

  • Upgraded to Netcode for GameObjects v1.7.1 (#147)
  • Upgraded sample to 2022.3.14f1 LTS (#147)
  • Upgraded Samples Utilities package to v1.8.0 (#151)

Editor Version

  • Editor is 2022.3.14f1

Dependencies

Packages

Full Changelog: v1.4.0...v1.5.0

v1.4.0

25 Sep 19:38
4cef420
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.4.0! Thank you for your continuous support!

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.4.0] - 2023-09-25

Dynamic Addressables Network Prefabs

Changed

  • Upgraded to Netcode for GameObjects v1.6.0 (#134)
  • Upgraded sample to 2022.3.9f1 LTS (#134)

Fixed

  • Fixed loaded status displayed on UI for synchronous prefab spawns inside 05_API Playground Showcasing All Post-Connection Use-Cases scene (#132)

Editor Version

  • Editor is 2022.3.9f1

Dependencies

Packages

2D Space Shooter

Changed

  • Upgraded to Netcode for GameObjects v1.6.0 (#134)
  • Upgraded sample to 2022.3.9f1 LTS (#134)

Fixed

  • Fixed warnings when spawning new bullets or asteroids by instantiating a new NetworkVariable pre-spawn (#134)

Editor Version

  • Editor is 2022.3.9f1

Dependencies

Packages

Client Driven

Changed

  • Upgraded to Netcode for GameObjects v1.6.0 (#134)
  • Upgraded sample to 2022.3.9f1 LTS (#134)

Editor Version

  • Editor is 2022.3.9f1

Dependencies

Packages

Invaders

Changed

  • Upgraded to Netcode for GameObjects v1.6.0 (#134)
  • Upgraded sample to 2022.3.9f1 LTS (#134)

Editor Version

  • Editor is 2022.3.9f1

Dependencies

Packages

Full Changelog: v1.3.0...v1.4.0

v1.3.0

07 Jul 20:33
f675409
Compare
Choose a tag to compare

Bitesize Samples Changelog

We are excited to announce the release of Bitesize Samples v1.3.0! All of the samples in this repository have been updated to Unity 2022.3 LTS. Thank you for your continuous support!

Got Feedback about the Bitesize Samples? Let us know via our Feedback Form.

[1.3.0] - 2023-07-07

Dynamic Addressables Network Prefabs

Changed

  • Upgrade to Netcode for GameObjects 1.4.0 (#118)
  • Upgraded sample to 2021.3.24f1 LTS (#119)
  • Upgraded sample to 2022.3.0f1 LTS (#124)

Fixed

  • Resolved visual bug where the load status of dynamic prefabs on the host was not correct (#111)

Editor Version

  • Editor is 2022.3.0f1

Dependencies

Packages

2D Space Shooter

Changed

  • Upgrade to Netcode for GameObjects 1.4.0 (#118)
  • Upgraded sample to 2021.3.24f1 LTS (#119)
  • Upgraded sample to 2022.3.0f1 LTS (#124)
  • Upgraded Samples Utilities version to v2.2.0 (#129)

Editor Version

  • Editor is 2022.3.0f1

Dependencies

Packages

Client Driven

Changed

  • Upgrade to Netcode for GameObjects 1.4.0 (#118)
  • Upgraded sample to 2021.3.24f1 LTS (#119)
  • Upgraded sample to 2022.3.0f1 LTS (#124)
  • Upgraded Samples Utilities version to v2.2.0 (#129)

Editor Version

  • Editor is 2022.3.0f1

Dependencies

Packages

Invaders

Changed

  • Upgrade to Netcode for GameObjects 1.4.0 (#118)
  • Upgraded sample to 2021.3.24f1 LTS (#119)
  • Upgraded sample to 2022.3.0f1 LTS (#124)
  • Upgraded Samples Utilities version to v2.2.0 (#129)

Fixed

  • IP address input field text value is now passed into UTP's ConnectionData, allowing for remote IP address hosting (#112)
  • Enemy and Player bullet explosion FX are now replicated on clients via ClientRpcs (#113)
  • Fixed an error produced when a client disconnected once the host disconnected after the game was complete (#124)

Editor Version

  • Editor is 2022.3.0f1

Dependencies

Packages

Bitesize Samples Repository

Fixed

  • Removed individual gitignore files for individual projects and added parrelsync clones to root gitignore file (#117)
  • Fixed link to old tutorial and clarified supported platforms (#120)

Full Changelog: v1.2.1...v1.3.0

v1.2.1

18 Feb 01:29
f8af3ff
Compare
Choose a tag to compare

Bitesize Samples Changelog

This is a minor housekeeping patch to fix broken Readme links. Please check out the 1.2.0 release for more information on the new Dynamic Addressables Network Prefabs sample! Below is a preview of the 1.2.0 release notes:

Dynamic Addressables Network Prefabs

The Dynamic Addressables Network Prefabs sample has been added! This sample showcases the available use-cases for the dynamic prefab system, which allows us to add new spawnable prefabs at runtime. Each scene in the project showcases a different, isolated feature of the API, allowing for easy extraction into other projects. This sample also uses in-game UI (created using UI Toolkit) to interface with the dynamic prefabs system with configurable options like artificial latency and network spawn timeout for easy testing. (#63) (#94) (#96) (#97) (#98) (#99) (#100) (#101) (#103)

dynamicPrefabs

[1.2.1] - 2023-02-17

Dynamic Addressables Network Prefabs

Changed

  • Readme updated with link to the Dynamic Addressables Network Prefabs sample documentation, and broken links fixed (#106)

Client Driven

Changed

  • Readme updated with link to the Client Driven sample documentation, and broken links fixed (#106)

Invaders

Changed

  • Readme updated with link to the Invaders samples documentation, and broken links fixed (#106)

2D Space Shooter

Changed

  • Readme updated with link to the 2D Space Shooter sample documentation, and broken links fixed (#106)

Bitesize Samples Repository

Changed

  • Readme updated and broken links fixed (#106) (#108)

Full Changelog: v1.2.0...1.2.1

v1.2.0

17 Feb 03:57
7f4adf6
Compare
Choose a tag to compare

Bitesize Samples Changelog

[1.2.0] - 2023-02-16

Dynamic Addressables Network Prefabs

The Dynamic Addressables Network Prefabs sample has been added! This sample showcases the available use-cases for the dynamic prefab system, which allows us to add new spawnable prefabs at runtime. Each scene in the project showcases a different, isolated feature of the API, allowing for easy extraction into other projects. This sample also uses in-game UI (created using UI Toolkit) to interface with the dynamic prefabs system with configurable options like artificial latency and network spawn timeout for easy testing. (#63) (#94) (#96) (#97) (#98) (#99) (#100) (#101) (#103)

dynamicPrefabs

Editor Version

  • Editor is 2021.3.18f1

Dependencies

Packages

Client Driven

Changed

  • Upgraded sample to 2021.3.18f1 LTS (#91)
  • Readme was updated (#96)

Editor version

  • Editor is 2021.3.18f1

Dependencies

Packages

Invaders

Changed

  • Upgraded sample to 2021.3.18f1 LTS (#91)
  • Readme was updated (#96)

Editor version

  • Editor is 2021.3.18f1

Dependencies

Packages

2D Space Shooter

Changed

  • Upgraded sample to 2021.3.18f1 LTS (#91)
  • Readme was updated (#96)

Fixed

  • Resolved issue where the colour of powerups was not displayed correctly (#91)
  • Removing warning when spawning powerups (#90). Fixed the order in which powerups were spawned and when their NetworkVariable value was initialized. Now they are spawned beforehand.
  • Fixing bullet explosion desync (#89). Bullet explosion vfx were happening too early on clients because of NetworkTransform's interpolation. Bullets are now no longer synchronised by NetworkTransforms and instead only have their velocity set through client rpcs when they are spawned. Since they are no longer interpolated, they are not lagging behind the server and are at the correct position when they receive the despawn message from the server.

Editor version

  • Editor is 2021.3.18f1

Dependencies

Packages

Full Changelog: v1.1.0...v1.2.0

v1.1.0

13 Dec 22:11
aa585e2
Compare
Choose a tag to compare

Bitesize Samples Changelog

[1.1.0] - 2022-12-13

Client Driven

Changed

  • Third Person Character Controller integration with custom IP UI (#66) The sample has been refactored to feature a PlayerPrefab inside NetworkManager that is a networked variant of a prefab from Unity's Starter Assets. Other improvements include:
    • Input polling via the new Input System
    • Connection UI utilizes UI Toolkit
    • Updated to Unity 2021.3.15f1 LTS
  • Upgrade to Netcode for GameObjects v1.2.0 & cleaned up in-scene NetworkVariables (#78)
  • Art Pass (#68)
  • Changed connection UI to use UI buttons and events instead of OnGUI [MTT-4201] (#60)
  • Player Colors (#75)
  • ThirdPersonController starter assets added (#62)
  • ClientDriven initial position sync fix on owning clients (#85)
  • Anti Aliasing (#72)
  • Change URP grading mode to HDR (#73)
  • UI Art (#69)
  • Readme added (#76)
  • Ingredient spawn position offset (#81)
  • In-game UI backgrounds (#82)
  • Uniformize gitignore files (#65)

Editor version

  • Editor is 2021.3.15f1

Dependencies

Packages

2DSpaceShooter

Changed

  • UI Pass using UI Toolkit (#55)
  • 2DSpaceShooter & Invaders 2021.3.15f1 LTS update & Readmes (#77)
  • Updating Invaders and 2DSpaceShooter to Netcode for GameObjects v1.2.0 (#84)
  • Uniformize gitignore files (#65)

Editor version

  • Editor is 2021.3.15f1

Dependencies

Packages

Invaders

Fixed

  • Despawning enemies instead of destroying them (#74)
  • Fixing NotServerException [MTT-4029] (#59)

Changed

  • Updated to Unity 2021.3.15f1 LTS
  • Updating Invaders and 2DSpaceShooter to Netcode for GameObjects v1.2.0 (#84)
  • 2DSpaceShooter & Invaders 2021.3.15f1 LTS update & Readmes (#77)

Editor version

  • Editor is 2021.3.15f1

Dependencies

Packages

Full Changelog:

https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/blob/main/CHANGELOG.md