A collection of smaller Bitesize samples to educate in isolation features of Netcode for GamesObjects and related technologies.
Перейти к файлу
Paolo Abela 0ec575c152
release: v1.7.0 [MTT-9035] (#213)
* Dgs/unity 6 update (#181)

* chore: updated Dedicated Game Server Sample to Unity 6, and Multiplayer Play Mode and dedicated server packages to 1.1.0

* chore: update Unity version in the CI for Dedicated Game Server

* chore: attempted to change editor version to see if DGS sample can build

* feat: updated logic in BuildProcessor so it doesn't use deprecated (and now unneeded) APIs

* chore: temporarily disabled running tests of other samples (will be re-enabled after DGS troubleshooting)

* chore: disabled core part of BuildEverything automation to see if Yamato still fails

* chore: bisecting CI failure

* chore: bisecting CI failure

* chore: bisecting CI failure

* chore: attempted to change build path to see if CI fails

* Revert "chore: attempted to change build path to see if CI fails"

This reverts commit 72f91399c8.

* chore: disabled burst compilation

* chore: re-enabled build code

* chore: disabled burst compiler programmatically before and after builds

* chore: disabled building clients

* chore: updated burst to latest version

* chore: re-enabled client builds

* chore: restored tests of other samples

* feat: added UIToolkit support ot input system configuration
chore: removed unneeded input asset, set project-wide input actions file

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>

* chore: (Dedicated game server) updated version badge in README

* Deprecation of "Invaders" sample (#186)

* chore: removed Invaders from CI, as it is now a deprecated sample

* chore: Moved "Invaders" sample to "Deprecated" folder

* chore: Added README for deprecated samples

* chore: Removed "Contributing" section from Deprecated samples README.md

* Feat: Multiplayer Use Cases UI toolkit implementation [MTT-7497] (#184)

* Added: integration of UIToolkit for NetworkManagerUI

* moving UI Toolkit related files into UI toolkit folder, also NetworkManagerUI.cs adjustments to integrate UI toolkit

* fix: added validation of IP and port address

* fix: color changes through button interactions work now

* fix: added Styleclasses instead of color fields to implement color changes of buttons

* fix: scaling of UI changes depending on screen size

* mtt-8638-Separate-PR-Triggers-per-project (#195)

* copy all changes to new branch

* changing name of shared triggers

* feat: Distributed Authority Sample initial project setup with scene & folder structure [MTT-8913] (#198)

* initial project commit

* Added: proposed folder structure from TDD

* consolidating settings folders

* adding ignored temp script for testing connection

---------

Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>

* feat: DistributedAuthoritySample Netcode for GameObjects & Multiplayer SDK package upgrade, scripting fix, editor upgrade (#203)

NGO & Multiplayer SDK package upgrade, scripting fix, editor upgrade

* feat: DedicatedGameServer sample upgraded to Netcode for GameObjects v1.8.1 API [MTT-8502] (#182)

DedicatedGameServer updated to NGO v1.8.1 API

* feat: Distributed Authority Sample player locomotion [MTT-8898] (#200)

* initial project commit

* Added: proposed folder structure from TDD

* consolidating settings folders

* adding ignored temp script for testing connection

* importing asteroids base classes & locomotion controller wip

* reworked drag, inheriting from baseobject movement

* cleanup, avatar set with AvatarTransform

* distinguishing spawmed players with name in hierarchy

* moving AvatarTransformEditor to own Editor subdirectory class, cleanup

* formatting changes

---------

Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>

* chore: updated README to provide a clear path to the onboarding resources in case a user closed the Tutorial window [skip ci]

* feat: distributed authority sample - adding assembly definitions [MTT-8945] (#207)

* asmdefs generated with dependencies mapped

* one unnecessary dependency removed

* renaming asmdefs & adding input assemblyinfo

* adding explicitly inputsystem to player assembly

* Usecases design feedback for out-of-experimental release (MTT-7498) (#209)

* chore: updated link in tutorials so it points at more recent RPCs

* chor: made font bigger in NetvarVsRPC scene, and rmeoved unneeded prefabs property overrides

* chore: added reminder text in completion dialogues to redirect to tutorials

* [MTT-8878] [MTT-8909] Feat: Distributed Authority sample Blockout + VFX (#206)


* consolidating settings folders

* feat: completed first draft of blockout

* LODs, 3 VFX, Lighting and post-processing

* Updated LODs to be single contained FBXs, removed VFX from scene, rebaked lighting

* Fix shader warnings

* Fixed statue mesh warnings, removed statue LODs, fixed Toon_Shaking shader warnings

* delete unneeded assets

* Overriding prefabs in order to be able to remove ProBuilder,  remove ClickToPlace script

* Changed: moved extracted ProMeshBuilder meshes into different folders and deleted extra folder, imported adjusted toonshaders, deleted smoke shadergraph and adjusted effected materials to use fire shadergraph and changed settings

---------

Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Vlad Neykov <vlad@vladimirneykov.com>

* feat: Distributed Authority Sample Avatar interactions (pick up & throw) [MTT-8905] [MTT-8884] (#208)

* asmdefs generated with dependencies mapped

* one unnecessary dependency removed

* renaming asmdefs & adding input assemblyinfo

* avatar-side pickup/toss of pickupable object

* adding a pickupable object, EnvironmentTransform, to scene with a spawner

* adding explicitly inputsystem to player assembly

* [MTT-8908] Feat: Adding PigChef character and necessary animations (#205)

* import PigChef plus dependencies, deleted scripts, WIP cleanup PigChef prefab

* removed unnecessary assets, adjusted AnimatorController for PigChef, added basic ThirdPersonController and Rigidbody

* feat: adjusted Animator settings (adding parameters and states), creating arm rigs setup and carryable object template

* added: pickup animation

* adding source animation files

pickup and throw animation source Maya files

* Updated pickup animation

Includes the new bone PickupLocation as child of the Hips bone with animation for being picked up

* animation update

keyframes updated

* Added: set up pickup functionality with fixedjoint, added PickUpItem tag and pickup locations on PigChef and CarryableObjectTemplate

also added move VS running

* added ThirdPersonRBController script

* Updates to prop carrying

Animation adjustments for carrying. Prefab adjustments for prop alignment

* removed: cloudproject link

* added throw animation

Includes Maya source files and FBX for Unity

* walk and run animation updates

Added keyframes for PickupLocation

* animation  update

Idle animation has a better pose for carrying the object

* feat: Added carry, drop and throw functionality, adjusted idle animation and added Rig animation functionality for Carrying

* adjusting rotations and positions of pottery hand locations

* animation updates

idle pose updates

* fixed animator bug with throw not playing and polished walk and run animations

clips and animator controller updated

* adjusted colliders from items, angle of pickup and pickup collider

* animation updates for carrying and throwing, AnimatorController state machine changes

Added anticipation to the throw. Now an Animation Event needs to be added so it throws at the correct time. Also fixed facial animation keyframes. Duplicate "_Rig" versions of the carry and throw clips are made in order to keyframe the IK rig.

* pottery prefab update

removed vertical offset

* created AnimationEvent for ThrowAction

* chest prefab updates

fine tuned hand attachment points

* added PickupLocation to PigChef prefab, adjusted throw logic to enable split throw animation

* Animation clip updates and Animator Controller updates for throwing on upper body only

Adjusted idle clip pose to remove pop when transitioning to walk/run. Split throw animation into two parts and removed lower body channels from the clips. Updated Animator Controller to play throw anticipation immediately when the button is pressed and throw release clip is played when the button is released.

* face animation fixes

keyframed eyes and mouth closed in all clips

* animation polish

adjusted idle pose to more closely match the walk pose

* deleting unnecessary transition in controller, slight controller script adjustments

* fixing throw force proportional to heldTime

* animation polish

Removed pop in blending when dropping a carried object.

* fix: cleaned up script and added dead zone to remove unwanted auto rotation

* removed unneeded extra idle layer

* fixed transition conditions

Transition from jump landing to walk and idle now have the conditions based on the Move parameter

* added groundLayer

* removed debugs and adjusted dead zone value

* animator controller updates

Removed has exit time from jump landing conditions

* fixed the problem where jump detached the hands from the carry object

All animation states need "write defaults" true. Jump was false, and that was the cause of the problem.

* deleting unused assets and changing asset location of CarryableObject script

* set Input in Player settings to both input systems

so that temp controller used in CharacterTest scene we have in this branch works

* reset PlayModeOptions and TimeManager to default, removed .vsconfig

* Removed: unneeded cane and chick related assets

Changed: Renaming of animation files for consistency and cleanup of animation folder

* Added: created Testing scene folder and moved CharacterTest over

* Test: creation a new controller to fix errors

* Changed: delete old controller, fixed + changed name of new animation controller

getting rid of broken text PPtr files

* moved ThirdPersonRBController into temp folder and removed audio files

* reset time and project settings

* Fixed: inconsistent naming

* fixed object name (have to take name from original asset which cannot be changed)

---------

Co-authored-by: davehunt-unity <30689100+davehunt-unity@users.noreply.github.com>

* chore: moved "MultiplayerUseCases" sample to the "basic" folder, and updated path in CI scripts

* chore: updated changelogs with 1.7.0 release notes
chore: updated README accoridng to the changes to Multiplayer Use Cases and Invaders

---------

Co-authored-by: Paolo Abela <paolo.abela@unity3d.com>
Co-authored-by: Elfi0Kuhndorf <93766359+Elfi0Kuhndorf@users.noreply.github.com>
Co-authored-by: harshala-rajesh <104168202+harshala-rajesh@users.noreply.github.com>
Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
Co-authored-by: Elfi Kühndorf <elfi.kuhndorf@unity3d.com>
Co-authored-by: Vlad Neykov <vlad@vladimirneykov.com>
Co-authored-by: davehunt-unity <30689100+davehunt-unity@users.noreply.github.com>
2024-08-29 19:44:51 +01:00
.github
.yamato
Basic
Deprecated
Experimental
Resources
dotnet-tools
.editorconfig
.gitignore
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md

README.md

Banner

Netcode for GameObjects Bitesize Samples

UnityVersion NetcodeVersion* LatestRelease

*: Due to a regression in Netcode for GameObjects pertaining to the destruction of NetworkObjects when a client unsuccessfully connects, the Dynamic Addressables Network Prefabs sample has remained at v1.7.1. It will be upgraded in the near future with the latest Netcode version including a fix for the regression.

This repository contains a collection of bitesize sample projects and games that showcase different techniques which can help you get started with development of a multiplayer project using Netcode for GameObjects.

Bitesize Samples Overview

2D Space Shooter Overview

The 2D Space Shooter Sample was a UNET sample that has been converted over to NGO. Check it out to learn more about physics movement and status effects using Netcode NetworkVariables and ObjectPooling.

Multiplayer Use Cases Overview

The Multiplayer Use Cases sample show you how to perform common actions in a multiplayer environment, so that you can build the features of your game with them in mind.

In this sample you'll learn about the core features of Netcode For GameObjects (Netcode) through practical examples that you'll be able to extend and adapt to fit the gameplay logic of your own game.

Each scene comes with an in-editor tutorial that will help you explore the main scripts and object of each scene, so you know where to look at to find what you're looking for.

Client Driven Overview

See the Client Driven Sample to learn about client driven movements, networked physics, spawning vs in-scene placed NetworkObjects, and NetworkObject parenting.

Dynamic Addressables Network Prefabs Overview

Check out the new Dynamic Addressables Network Prefabs Sample to learn more about the dynamic prefab system, which allows us to add new spawnable network prefabs at runtime.


Click to expand/collapse contents


Getting the project

Direct download

  • You can download the latest versions these samples from our Releases page

  • Alternatively: select Code and select the 'Download Zip' option. Please note that this will download the branch you're currently viewing on Github

Requirements

The bitesize samples are compatible with the latest Unity Long Term Support (LTS) editor version, currently 2022 LTS and are supported on the Windows 10 and Mac OSX platforms. Please include standalone support for Windows/Mac in your installation.

PLEASE NOTE: You will also need Netcode for Game Objects to use these samples. See the Installation Documentation to prepare your environment. You can also complete the Get Started With NGO tutorial to familiarize yourself with Netcode For Game Objects.

Troubleshooting

Bugs

Documentation

For a deep dive into Netcode for GameObjects and the Bitesize Samples, visit our documentation site.

Community

For help, questions, networking advice, or discussions about Netcode for GameObjects and its samples, please join our Discord Community or create a post in the Unity Multiplayer Forum.

Contributing

We welcome your contributions to this sample code and objects. See our contribution guidelines for details.

Feedback

If you have tried these samples already, please consider leaving us feedback here--it will only take a couple of minutes. Thanks!

Other samples

Boss Room Sample

Boss Room is a fully functional co-op multiplayer RPG made with Unity Netcode. It is an educational sample designed to showcase typical netcode patterns that are frequently featured in similar multiplayer games.

Documentation Forums Discord