Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
Перейти к файлу
Noel Stephens 73ac14155f
fix: NetworkManager ApprovalTimeout should not depend upon client synchronization (#2261)
* fix
This fix separates the IsConnectedClient from the approval process by adding an IsApproved flag.
This also has a fix to prevent the domain backup error during serialization.

* test
Added the ability to bypass the entire NetcodeIntegrationTest connection approval process after the server and clients have been started.  This allows us to now use NetcodeIntegrationTest for unique connection oriented tests without being bound to the asserts if not all clients connected properly.
Refactored for ConnectionApprovalTimeoutTests to use the added m_BypassConnectionTimeout to bypass the waiting for clients to connect. It still uses the message hook catch technique to simulate the timeout scenarios where either a server detects a transport connection but never receives a connection request or a client sends the connection request but never receives approval for the connection.
2022-10-17 21:19:45 -05:00
.github chore: update `CODEOWNERS` 2022-08-03 22:08:47 +01:00
.yamato chore: Update to use UTP 2.0.0-exp.7 for compatibility test (#2234) 2022-10-05 10:55:59 +00:00
com.unity.netcode.gameobjects fix: NetworkManager ApprovalTimeout should not depend upon client synchronization (#2261) 2022-10-17 21:19:45 -05:00
dotnet-tools fix: NCCBUG-175: BitReader/BitWriter Reading/writing more than 8 bits was producing the wrong result (#2130) 2022-08-17 23:47:52 +00:00
minimalproject chore: Update UTP dependency to 1.3.0 (#2231) 2022-10-05 12:15:09 +00:00
testproject fix: SceneEventProgress does not handle NetworkManager shut down during scene event (#2254) 2022-10-13 16:10:41 -05:00
testproject-tools-integration chore: Update UTP dependency to 1.3.0 (#2231) 2022-10-05 12:15:09 +00:00
.buginfo chore: Add .buginfo [skip ci] (#2008) 2022-06-09 14:28:42 -04:00
.editorconfig
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.md
README.md fix: update "Hello World" docs link 2022-08-25 19:33:23 +01:00

README.md

Netcode for GameObjects

Forums Discord Manual API

GitHub Release

Welcome!

Welcome to the Netcode for GameObjects repository.

Netcode for GameObjects is a Unity package that provides networking capabilities to GameObject & MonoBehaviour workflows. The framework is interoperable with many low-level transports, including the official Unity Transport Package.

Getting Started

Visit the Multiplayer Docs Site for package & API documentation, as well as information about several samples which leverage the Netcode for GameObjects package.

You can also jump right into our Hello World guide for a taste of how to use the framework for basic networked tasks.

Community and Feedback

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

Compatibility

Netcode for GameObjects targets the following Unity versions:

  • Unity 2020.3, 2021.1, 2021.2 and 2021.3

On the following runtime platforms:

  • Windows, MacOS, and Linux
  • iOS and Android
  • Most closed platforms, such as consoles. Contact us for more information about specific closed platforms.

Development

This repository is broken into multiple components, each one implemented as a Unity Package.

    .
    ├── com.unity.netcode.gameobjects           # The core netcode SDK unity package (source + tests)
    └── testproject                             # A Unity project with various test implementations & scenes which exercise the features in the above packages.

Contributing

We are an open-source project and we encourage and welcome contributions. If you wish to contribute, please be sure to review our contribution guidelines.

Issues and missing features

If you have an issue, bug or feature request, please follow the information in our contribution guidelines to submit an issue.

You can also check out our public roadmap to get an idea for what we might be working on next!