2023-08-12 00:08:28 +03:00
# Changelog
2023-12-08 17:54:52 +03:00
## [unreleased] - yyyy-mm-dd
### 2D Space Shooter
#### Changed
- Upgraded to Netcode for GameObjects v1.7.1 (#147)
- Upgraded sample to 2022.3.14f1 LTS (#147)
### Client Driven
#### Changed
- Upgraded to Netcode for GameObjects v1.7.1 (#147)
- Upgraded sample to 2022.3.14f1 LTS (#147)
### Dynamic Addressables Network Prefabs
#### Changed
- Upgraded to Netcode for GameObjects v1.7.1 (#147)
- Upgraded sample to 2022.3.14f1 LTS (#147)
### Invaders
#### Changed
- Upgraded to Netcode for GameObjects v1.7.1 (#147)
- Upgraded sample to 2022.3.14f1 LTS (#147)
2023-09-25 20:53:09 +03:00
## [1.4.0] - 2023-09-25
2023-08-12 00:08:28 +03:00
2023-09-20 21:32:27 +03:00
### 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)
### Client Driven
#### Changed
- Upgraded to Netcode for GameObjects v1.6.0 (#134)
- Upgraded sample to 2022.3.9f1 LTS (#134)
2023-09-22 22:22:13 +03:00
#### Fixed
- Added a script to handle NetworkObject parent changes on Ingredients to address a bug where Ingredients would not get stuck on client disconnect events (#136)
2023-08-12 00:08:28 +03:00
### Dynamic Addressables Network Prefabs
2023-09-20 21:32:27 +03:00
#### Changed
- Upgraded to Netcode for GameObjects v1.6.0 (#134)
- Upgraded sample to 2022.3.9f1 LTS (#134)
2023-08-12 00:08:28 +03:00
#### Fixed
- Fixed loaded status displayed on UI for synchronous prefab spawns inside 05_API Playground Showcasing All Post-Connection Use-Cases scene (#132)
2021-04-14 01:26:44 +03:00
2023-09-20 21:32:27 +03:00
### Invaders
#### Changed
- Upgraded to Netcode for GameObjects v1.6.0 (#134)
- Upgraded sample to 2022.3.9f1 LTS (#134)
2023-07-07 23:07:02 +03:00
## [1.3.0] - 2023-07-07
2023-03-06 18:47:07 +03:00
### Dynamic Addressables Network Prefabs
2023-05-02 16:40:50 +03:00
#### Changed
2023-05-02 20:09:19 +03:00
- Upgrade to Netcode for GameObjects 1.4.0 (#118)
2023-05-02 16:40:50 +03:00
- Upgraded sample to 2021.3.24f1 LTS (#119)
2023-06-07 23:23:51 +03:00
- Upgraded sample to 2022.3.0f1 LTS (#124)
2023-05-02 16:40:50 +03:00
2023-03-06 18:47:07 +03:00
#### Fixed
- Resolved visual bug where the load status of dynamic prefabs on the host was not correct (#111)
2023-02-17 04:21:33 +03:00
2023-05-02 16:40:50 +03:00
### 2D Space Shooter
#### Changed
2023-05-02 20:09:19 +03:00
- Upgrade to Netcode for GameObjects 1.4.0 (#118)
2023-05-02 16:40:50 +03:00
- Upgraded sample to 2021.3.24f1 LTS (#119)
2023-06-07 23:23:51 +03:00
- Upgraded sample to 2022.3.0f1 LTS (#124)
2023-07-07 23:07:02 +03:00
- Upgraded Samples Utilities version to v2.2.0 (#129)
2023-05-02 16:40:50 +03:00
### Client Driven
#### Changed
2023-05-02 20:09:19 +03:00
- Upgrade to Netcode for GameObjects 1.4.0 (#118)
2023-05-02 16:40:50 +03:00
- Upgraded sample to 2021.3.24f1 LTS (#119)
2023-06-07 23:23:51 +03:00
- Upgraded sample to 2022.3.0f1 LTS (#124)
2023-07-07 23:07:02 +03:00
- Upgraded Samples Utilities version to v2.2.0 (#129)
2023-05-02 16:40:50 +03:00
2023-03-06 19:22:53 +03:00
### Invaders
2023-05-02 16:40:50 +03:00
#### Changed
2023-05-02 20:09:19 +03:00
- Upgrade to Netcode for GameObjects 1.4.0 (#118)
2023-05-02 16:40:50 +03:00
- Upgraded sample to 2021.3.24f1 LTS (#119)
2023-06-07 23:23:51 +03:00
- Upgraded sample to 2022.3.0f1 LTS (#124)
2023-07-07 23:07:02 +03:00
- Upgraded Samples Utilities version to v2.2.0 (#129)
2023-05-02 16:40:50 +03:00
2023-03-06 19:22:53 +03:00
#### Fixed
- IP address input field text value is now passed into UTP's ConnectionData, allowing for remote IP address hosting (#112)
2023-03-10 19:58:35 +03:00
- Enemy and Player bullet explosion FX are now replicated on clients via ClientRpcs (#113)
2023-06-07 23:23:51 +03:00
- Fixed an error produced when a client disconnected once the host disconnected after the game was complete (#124)
2023-03-06 19:22:53 +03:00
2023-04-26 16:43:09 +03:00
### Bitesize Samples Repository
#### Fixed
- Removed individual gitignore files for individual projects and added parrelsync clones to root gitignore file (#117)
2023-05-02 16:19:50 +03:00
- Fixed link to old tutorial and clarified supported platforms (#120)
2023-04-26 16:43:09 +03:00
2023-02-18 03:08:42 +03:00
## [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)
### 2D Space Shooter
#### Changed
- Readme updated with link to the 2D Space Shooter 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)
### Bitesize Samples Repository
#### Fixed
2023-02-18 03:47:56 +03:00
- Readme formatting adjustments and broken link fixes (#106) (#108)
2023-02-18 03:08:42 +03:00
2023-02-17 04:21:33 +03:00
## [1.2.0] - 2023-02-16
### Dynamic Addressables Network Prefabs Sample
2023-02-17 06:29:09 +03:00
Added the Dynamic Addressables Network Prefabs Sample. This sample showcases the available use-cases for the dynamic prefab system, which allows us to add new spawnable prefabs at runtime. This would be useful for games trying to use both [Addressables ](https://docs.unity3d.com/Packages/com.unity.addressables@0.8/manual/index.html ) and Netcode for GameObjects (#63) (#94) (#96) (#97) (#98) (#99) (#100) (#101) (#103)
2022-12-12 17:45:39 +03:00
2023-01-04 23:37:37 +03:00
### 2DSpaceShooter
2023-02-07 19:43:24 +03:00
#### Fixed
- Resolved issue where the colour of powerups was not displayed correctly (#91)
2023-02-17 04:21:33 +03:00
- 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.
2023-02-17 04:34:33 +03:00
- Fix: Broken Reference for Underline Character in Font Asset (#87)
2023-02-07 19:43:24 +03:00
#### Changed
- Upgraded sample to 2021.3.18f1 LTS (#91)
2023-02-17 04:21:33 +03:00
- Readme was updated (#96)
- Added readme banner image (#101)
2023-02-07 19:43:24 +03:00
### Client Driven
#### Changed
- Upgraded sample to 2021.3.18f1 LTS (#91)
2023-02-17 04:21:33 +03:00
- Readme was updated (#96)
- Added readme banner image (#101)
2023-02-07 19:43:24 +03:00
### Invaders
#### Changed
- Upgraded sample to 2021.3.18f1 LTS (#91)
2023-02-17 04:21:33 +03:00
- Readme was updated (#96)
- Added readme banner image (#101)
2023-02-07 19:43:24 +03:00
2023-02-17 04:21:33 +03:00
### Bitesize Samples Repository
#### Changed
- Readme was updated (#96)
2023-02-07 19:43:24 +03:00
2023-01-04 23:37:37 +03:00
2022-12-14 00:31:32 +03:00
## [1.1.0] - 2022-12-13
2022-12-06 22:43:26 +03:00
### Client Driven
#### Changed
2022-12-12 17:45:39 +03:00
- Changed connection UI to use UI buttons and events instead of OnGUI [MTT-4201] (#60)
- ThirdPersonController starter assets added (#62)
- Uniformize gitignore files (#65)
- Art Pass (#68)
- Anti Aliasing (#72)
- 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 ](https://assetstore.unity.com/packages/essentials/starter-assets-third-person-character-controller-196526 ). Other improvements include:
2022-12-06 22:43:26 +03:00
- Input polling via the new Input System
- Connection UI utilizes UI Toolkit
2022-12-12 17:45:39 +03:00
- Updated to Unity 2021.3.15f1 LTS
- Change URP grading mode to HDR (#73)
- Player Colors (#75)
- UI Art (#69)
- Readme added (#76)
- Upgrade to Netcode for GameObjects v1.2.0 & cleaned up in-scene NetworkVariables (#78)
- Ingredient spawn position offset (#81)
- In-game UI backgrounds (#82)
2022-12-13 23:46:59 +03:00
- Initial position sync fix on owning clients (#85)
2022-12-12 17:45:39 +03:00
### 2DSpaceShooter
#### Changed
- UI Pass using UI Toolkit (#55)
- Uniformize gitignore files (#65)
- 2DSpaceShooter & Invaders 2021.3.15f1 LTS update & Readmes (#77)
2022-12-12 21:41:50 +03:00
- Updating Invaders and 2DSpaceShooter to Netcode for GameObjects v1.2.0 (#84)
2022-12-12 17:45:39 +03:00
### Invaders
2023-02-07 19:43:24 +03:00
#### Fixed
2022-12-12 17:45:39 +03:00
- Fixing NotServerException [MTT-4029] (#59)
- Despawning enemies instead of destroying them (#74)
#### Changed
- Updated to Unity 2021.3.15f1 LTS
- 2DSpaceShooter & Invaders 2021.3.15f1 LTS update & Readmes (#77)
2022-12-12 21:41:50 +03:00
- Updating Invaders and 2DSpaceShooter to Netcode for GameObjects v1.2.0 (#84)
2022-12-06 22:43:26 +03:00
2021-10-21 01:21:30 +03:00
## [1.0.0] - 2021-10-20
2021-10-21 01:41:50 +03:00
### Client Driven
A new sample was added named client driven. It focus on client driven movements, networked physics, spawning vs statically placed objects, object reparenting
2021-10-21 01:21:30 +03:00
### Invaders
#### Changed
- Updated to Netcode for GameObjects 1.0.0.
- Player now use ClientNetworkTransform for client driven movement
- Network Manager now uses Unity Transport instead of UNet
- SceneTransitionHandler : now uses the new Scene Manager and Scene Loading events
- InvadersGame : replicated time remaining now uses a RPC instead of a one time synchonized NetworkVariable
#### Fixed
2021-10-21 01:39:47 +03:00
- Network behaviour in OnDestroy was moved to OnNetworkDespawn
2021-08-03 21:37:44 +03:00
### 2DSpaceShooter
2021-10-20 23:35:18 +03:00
#### Changed
- Updated to Netcode for GameObjects 1.0.0.
2021-08-03 21:37:44 +03:00
- Player name is no longer static but based on the client id.
2021-10-20 23:35:18 +03:00
#### Fixed
- Fixed a bug where explosions from bullet impacts where only visible on the host.
- Fixed a bug where setting the hosts port in the UI wouldn't change the port on which the server was hosted.
2021-07-21 14:21:14 +03:00
## [0.2.0] - 2021-07-21
2021-07-20 18:16:36 +03:00
2021-07-21 14:21:14 +03:00
### Invaders
#### New Changes
2021-07-20 18:16:36 +03:00
- Game - rename all our alien prefabs to have a more generic name, the same principle was applied to our codebase, renamed variables/fields/classes to something more generic
- Game: Fix a crash in shipping build
- Enemies: Rename our main enemy class to EnemyAgent + minor clean-ups + implement a grace shoot timer period
- InvadersGame: Some big refactories here, the UpdateEnemies function not outputs a set of flags (bitmask) rather than having separated booleans to keep track off
- InvadersGame: Fix an edge case of the game loop where if the enemies would reach the bottom they would never respawn, now when they do reach that bottom boundary it will be game over
- InvadersGame: Introduce additional game over reasons
- LobbyControl: Introduce a minimum player count variable that could be tweaked in the inspector so that the users can start playing in the editor with just the host in the lobby
- PlayerControl: Unified the NotifyGameOver function with the InvadersGame one + added different texts for all the possible game over reasons to be displayed
- PlayerControl: Fix a minor issue where the Player graphics are not hidden on all connected instances upon "death".
2021-07-21 14:21:14 +03:00
#### Known Issues
2021-07-20 18:16:36 +03:00
- Upon import a MissingReferenceException is triggered from within MLAPI: ** "MissingReferenceException: The object of type ‘ GameObject’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object."** in:
- UnityEngine.GameObject.GetComponent[T] () (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/GameObject.bindings.cs:28)
2021-07-21 14:21:14 +03:00
### 2DSpaceShooter
#### New Changes
- Cleaned up project structure, removed duplicate art assets and moved remaining asset into sub folders.
- Removed empty MonoBehaviours which were used as tags and using the Unity tag system instead.
- Removed the dependency to the community contributions repository and copied `NetworkManagerHud` and `NetworkObjectPool` into the sample.
- Small QoL improvements to scripting. Using `TryGetComponent` and `CompareTag` .
2021-07-22 11:53:47 +03:00
- Fix audio issues by moving the audio listener onto the player ship object.
2021-07-21 14:21:14 +03:00
#### Known Issues
- Missing Reference Exception thrown when leaving playmode, can be ignored:< br >
*MissingReferenceException: The object of type 'NetworkObjectPool' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
MLAPI.Extensions.NetworkObjectPool.ReturnNetworkObject*
2021-04-14 01:26:44 +03:00
## [0.1.0] - 2021-04-07
2021-04-14 16:10:42 +03:00
Initial release of MLAPI Bitesize Samples repository. Samples support the following versions:
2021-04-14 01:26:44 +03:00
| Unity Version | Unity MLAPI Version |
| -- | -- |
| 2020.3 | 0.1.0 |
### New features
- Added Invaders sample.
- Added 2D Space Shooter sample.
2021-04-22 20:09:01 +03:00
### License
2021-10-21 01:37:30 +03:00
The Bitesize Samples repository and code projects are licensed under the Unity Companion License for Unity-dependent projects (see https://unity3d.com/legal/licenses/unity_companion_license). See [LICENSE ](https://github.com/Unity-Technologies/com.unity.multiplayer.samples.bitesize/blob/main/LICENSE.md ) for full details.