Skip to content
Open
Show file tree
Hide file tree
Changes from 101 commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
2973bb9
update
NoelStephensUnity May 18, 2023
3190354
Merge branch 'develop' into experimental/ngo-and-n4e
NoelStephensUnity May 24, 2023
d0b7f1c
Merge remote-tracking branch 'origin/develop-2.0.0' into experimental…
NoelStephensUnity Dec 7, 2025
2eeb2c7
update - wip
NoelStephensUnity Dec 7, 2025
fb7d11a
update
NoelStephensUnity Dec 10, 2025
aa6ea10
Merge branch 'develop-2.0.0' into experimental/v2-x-x/ngo-and-n4e
NoelStephensUnity Dec 11, 2025
c15498c
update
NoelStephensUnity Dec 11, 2025
83e3c62
update
NoelStephensUnity Dec 11, 2025
dd4a95c
update
NoelStephensUnity Dec 12, 2025
d759121
update
NoelStephensUnity Dec 13, 2025
ba19e82
update
NoelStephensUnity Dec 14, 2025
c6e2fd9
fix
NoelStephensUnity Dec 15, 2025
a97064b
fix
NoelStephensUnity Dec 17, 2025
9deb6ec
update
NoelStephensUnity Dec 22, 2025
b9446a4
update
NoelStephensUnity Dec 22, 2025
187d6ea
update
NoelStephensUnity Dec 27, 2025
cc5c3a6
update
NoelStephensUnity Jan 5, 2026
bae60bb
Merge branch 'develop-2.0.0' into experimental/v2-x-x/ngo-and-n4e
NoelStephensUnity Jan 31, 2026
5cfc6c2
update
NoelStephensUnity Feb 2, 2026
ec01428
update
NoelStephensUnity Feb 3, 2026
d1f28b5
update
NoelStephensUnity Feb 6, 2026
1dd4bd2
fix
NoelStephensUnity Feb 25, 2026
6cf0413
update
NoelStephensUnity Feb 25, 2026
1f3c7a7
update - child network behaviours
NoelStephensUnity Feb 26, 2026
90559b3
fix
NoelStephensUnity Feb 27, 2026
21143ec
fix
NoelStephensUnity Feb 27, 2026
e83eb23
fix
NoelStephensUnity Feb 27, 2026
9546ff2
fix
NoelStephensUnity Feb 28, 2026
211a50f
update
NoelStephensUnity Mar 2, 2026
c6315ce
fix & update
NoelStephensUnity Mar 2, 2026
9038909
update
NoelStephensUnity Mar 2, 2026
526f30b
update
NoelStephensUnity Mar 2, 2026
ff84ee2
Transport sharing WIP
ShadauxCat Mar 2, 2026
ea80eb0
update
NoelStephensUnity Mar 3, 2026
3d4a803
update
NoelStephensUnity Mar 3, 2026
a6b852f
update
NoelStephensUnity Mar 3, 2026
0bd4efd
Merge branch 'experimental/v2-x-x/ngo-and-n4e' into experimental/v2-x…
ShadauxCat Mar 3, 2026
cce1185
update
NoelStephensUnity Mar 3, 2026
adf29e1
Merge branch 'develop-2.0.0' into experimental/v2-x-x/ngo-and-n4e
NoelStephensUnity Mar 3, 2026
91cf538
update
NoelStephensUnity Mar 3, 2026
5802407
update
NoelStephensUnity Mar 3, 2026
da1beaf
update
NoelStephensUnity Mar 3, 2026
f2f6580
update
NoelStephensUnity Mar 4, 2026
b5f232b
Merge branch 'experimental/v2-x-x/ngo-and-n4e' into experimental/v2-x…
ShadauxCat Mar 4, 2026
fd1263f
- Delay connections from going in game in N4E until initial NGO sync …
ShadauxCat Mar 5, 2026
8bc8800
Got RTT working correctly.
ShadauxCat Mar 5, 2026
ac625b2
update
NoelStephensUnity Mar 5, 2026
c31e7c2
Merge branch 'experimental/v2-x-x/ngo-and-n4e' into test-merge/v2-x-x…
NoelStephensUnity Mar 5, 2026
038b157
update & fixes
NoelStephensUnity Mar 5, 2026
1e75ba1
fix
NoelStephensUnity Mar 5, 2026
be7b59c
update
NoelStephensUnity Mar 5, 2026
6f575ae
update
NoelStephensUnity Mar 6, 2026
13cbe71
update
NoelStephensUnity Mar 6, 2026
66e6483
Switched TransportRpc to use the Out-Of-Band RPC pipeline
ShadauxCat Mar 6, 2026
2c98801
Merge branch 'experimental/v2-x-x/ngo-and-n4e-kitty' into experimenta…
NoelStephensUnity Mar 6, 2026
ebed5f6
update - OUT_OF_BAND_RPC
NoelStephensUnity Mar 10, 2026
b14c13b
Merge branch 'develop-2.0.0' into experimental/v3-x-x/unified
NoelStephensUnity Mar 10, 2026
003ae42
update
NoelStephensUnity Mar 10, 2026
4512b39
chore: merge ngo and n4e with poc transport and updates (#3889)
NoelStephensUnity Mar 10, 2026
86e0249
Optimizations of the UnifiedNetcodeTransport.
ShadauxCat Mar 10, 2026
d543b03
Merge branch 'experimental/v2-x-x/ngo-and-n4e-kitty' into experimenta…
NoelStephensUnity Mar 10, 2026
4bbda35
Merge branch 'develop-2.0.0' into experimental/v2-x-x/ngo-and-n4e-wit…
NoelStephensUnity Mar 10, 2026
4fc66b5
Merge branch 'experimental/v2-x-x/ngo-and-n4e-with-poc-transport-merg…
NoelStephensUnity Mar 10, 2026
5c9ad50
Added support for surfacing disconnect messages
ShadauxCat Mar 11, 2026
1dc6b39
Merge branch 'experimental/v2-x-x/ngo-and-n4e-kitty' into experimenta…
NoelStephensUnity Mar 11, 2026
205ca97
Merge branch 'experimental/v2-x-x/ngo-and-n4e-with-poc-transport-merg…
NoelStephensUnity Mar 11, 2026
b1daa58
fix
NoelStephensUnity Mar 11, 2026
5ea9d4a
fix
NoelStephensUnity Mar 18, 2026
5d9f741
Update NetworkObject.cs
NoelStephensUnity Mar 20, 2026
8ed8666
temp-fix
NoelStephensUnity Mar 20, 2026
13ef013
update
NoelStephensUnity Mar 20, 2026
1c8b43d
update
NoelStephensUnity Mar 21, 2026
fe75aa3
Merge branch 'develop-2.0.0' into experimental/v3-x-x/unified
NoelStephensUnity Mar 24, 2026
78874ff
fix
NoelStephensUnity Apr 8, 2026
164a713
Integration tests WIP
ShadauxCat Apr 23, 2026
0cc6391
Removed SetActive calls
ShadauxCat Apr 23, 2026
4308345
update
NoelStephensUnity Apr 25, 2026
2916b67
style
NoelStephensUnity Apr 25, 2026
59f8208
update
NoelStephensUnity Apr 27, 2026
ab1addf
Merge branch 'develop-2.0.0' into experimental/v3-x-x/hybrid_spawn_in…
NoelStephensUnity Apr 28, 2026
453c8e2
update
NoelStephensUnity Apr 28, 2026
a4e7bab
fix:
NoelStephensUnity Apr 29, 2026
7c87a87
update
NoelStephensUnity Apr 29, 2026
b80b0c3
test-fix
NoelStephensUnity Apr 29, 2026
8c76504
test-fix
NoelStephensUnity Apr 29, 2026
25576e3
fix
NoelStephensUnity Apr 29, 2026
61688b9
update
NoelStephensUnity Apr 29, 2026
481ff8e
fix
NoelStephensUnity Apr 29, 2026
707c439
Merge branch 'develop-3.x.x' into experimental/v3-x-x/hybrid_spawn_in…
NoelStephensUnity Apr 29, 2026
779afef
update - remove NGO-N4E-Example
NoelStephensUnity Apr 29, 2026
00b140c
update
NoelStephensUnity Apr 29, 2026
05138a4
update
NoelStephensUnity Apr 29, 2026
e66c22e
update
NoelStephensUnity Apr 29, 2026
bf4f27c
update
NoelStephensUnity Apr 29, 2026
abcb4a6
update & style
NoelStephensUnity Apr 29, 2026
ad90421
test
NoelStephensUnity Apr 29, 2026
9858362
style
NoelStephensUnity Apr 29, 2026
71a5af5
update - Multiprocess Runtime
NoelStephensUnity Apr 29, 2026
570dcb7
fix
NoelStephensUnity Apr 29, 2026
7f1b592
update
NoelStephensUnity Apr 29, 2026
b599a1f
update
NoelStephensUnity Apr 29, 2026
a5b5e89
style - PVP-124-2
NoelStephensUnity Apr 29, 2026
17f0a17
update: PVP-Exceptions
NoelStephensUnity Apr 29, 2026
5fb2d14
fix
NoelStephensUnity Apr 29, 2026
0d15bf7
fix
NoelStephensUnity Apr 29, 2026
0333853
fix
NoelStephensUnity Apr 29, 2026
cdb89eb
style
NoelStephensUnity Apr 29, 2026
5a6d19c
update
NoelStephensUnity Apr 29, 2026
712161c
style
NoelStephensUnity Apr 29, 2026
077f183
revert
NoelStephensUnity Apr 29, 2026
78e36cb
style
NoelStephensUnity Apr 29, 2026
560bf37
style
NoelStephensUnity Apr 29, 2026
c95a3f0
update
NoelStephensUnity Apr 30, 2026
9f70c40
Update
NoelStephensUnity Apr 30, 2026
6067a31
update
NoelStephensUnity Apr 30, 2026
29d4124
style
NoelStephensUnity Apr 30, 2026
2c7d039
update
NoelStephensUnity Apr 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/conventional-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- develop
- develop-2.0.0
- develop-3.x.x
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Expand Down
2 changes: 2 additions & 0 deletions .yamato/_triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pr_minimal_required_checks:
(pull_request.comment eq "ngo" OR
(pull_request.target eq "develop" OR
pull_request.target eq "develop-2.0.0" OR
pull_request.target eq "develop-3.x.x" OR
pull_request.target match "release/*")) AND
NOT pull_request.draft
cancel_old_ci: true
Expand Down Expand Up @@ -94,6 +95,7 @@ pr_code_changes_checks:
(pull_request.comment eq "ngo" OR
(pull_request.target eq "develop" OR
pull_request.target eq "develop-2.0.0" OR
pull_request.target eq "develop-3.x.x" OR
pull_request.target match "release/*")) AND
NOT pull_request.draft AND
pull_request.changes.any match [
Expand Down
3 changes: 3 additions & 0 deletions com.unity.netcode.gameobjects/Editor/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#if UNITY_INCLUDE_TESTS
#if UNITY_EDITOR
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.Editor.Tests")]
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.EditorTests")]
[assembly: InternalsVisibleTo("Unity.Netcode.GameObjects.Editor")]
[assembly: InternalsVisibleTo("Unity.Netcode.Editor.Tests")]
[assembly: InternalsVisibleTo("TestProject.Runtime.Tests")]
#endif // UNITY_EDITOR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using UnityEngine;
using Object = System.Object;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal static class CodeGenHelpers
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using ILPPInterface = Unity.CompilationPipeline.Common.ILPostProcessing.ILPostProcessor;
using MethodAttributes = Mono.Cecil.MethodAttributes;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal sealed class INetworkMessageILPP : ILPPInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using Unity.CompilationPipeline.Common.ILPostProcessing;
using ILPPInterface = Unity.CompilationPipeline.Common.ILPostProcessing.ILPostProcessor;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal sealed class INetworkSerializableILPP : ILPPInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
using MethodAttributes = Mono.Cecil.MethodAttributes;
using ParameterAttributes = Mono.Cecil.ParameterAttributes;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal sealed class NetworkBehaviourILPP : ILPPInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Mono.Cecil;
using Unity.CompilationPipeline.Common.ILPostProcessing;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal class PostProcessorAssemblyResolver : IAssemblyResolver
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.Reflection;
using Mono.Cecil;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal class PostProcessorReflectionImporter : DefaultReflectionImporter
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mono.Cecil;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal class PostProcessorReflectionImporterProvider : IReflectionImporterProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Unity.CompilationPipeline.Common.ILPostProcessing;
using ILPPInterface = Unity.CompilationPipeline.Common.ILPostProcessing.ILPostProcessor;

namespace Unity.Netcode.Editor.CodeGen
namespace Unity.Netcode.GameObjects.Editor.CodeGen
{
internal sealed class RuntimeAccessModifiersILPP : ILPPInterface
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Unity.Netcode.Editor.CodeGen",
"rootNamespace": "Unity.Netcode.Editor.CodeGen",
"name": "Unity.Netcode.GameObjects.Editor.CodeGen",
"rootNamespace": "Unity.Netcode.GameObjects.Editor.CodeGen",
"references": [
"Unity.Netcode.Runtime",
"Unity.Collections"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using UnityEditor;
using UnityEngine;

namespace Unity.Netcode.Editor.Configuration
namespace Unity.Netcode.GameObjects.Editor.Configuration
{
/// <summary>
/// A <see cref="ScriptableSingleton{T}"/> of type <see cref="NetcodeForGameObjectsProjectSettings"/>.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEditor;

namespace Unity.Netcode.Editor.Configuration
namespace Unity.Netcode.GameObjects.Editor.Configuration
{
internal class NetcodeForGameObjectsEditorSettings
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Directory = UnityEngine.Windows.Directory;
using File = UnityEngine.Windows.File;

namespace Unity.Netcode.Editor.Configuration
namespace Unity.Netcode.GameObjects.Editor.Configuration
{
internal static class NetcodeSettingsProvider
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEditor;
using UnityEngine;

namespace Unity.Netcode.Editor.Configuration
namespace Unity.Netcode.GameObjects.Editor.Configuration
{
/// <summary>
/// Updates the default <see cref="NetworkPrefabsList"/> instance when prefabs are updated (created, moved, deleted) in the project.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using UnityEditorInternal;
using UnityEngine;

namespace Unity.Netcode.Editor
namespace Unity.Netcode.GameObjects.Editor
{
/// <summary>
/// The custom editor for the <see cref="NetworkPrefabsList"/> <see cref="ScriptableObject"/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using UnityEditor;
using UnityEngine;

namespace Unity.Netcode.Editor
namespace Unity.Netcode.GameObjects.Editor
{
/// <summary>
/// Internal use. Hides the script field for the given component.
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 3 additions & 17 deletions com.unity.netcode.gameobjects/Editor/NetworkBehaviourEditor.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using System;
using System.Collections.Generic;
using System.Reflection;
using Unity.Netcode.Editor.Configuration;
using Unity.Netcode.GameObjects.Editor.Configuration;
using UnityEditor;
using UnityEngine;

namespace Unity.Netcode.Editor
namespace Unity.Netcode.GameObjects.Editor
{
/// <summary>
/// The <see cref="CustomEditor"/> for <see cref="NetworkBehaviour"/>
Expand Down Expand Up @@ -321,20 +321,6 @@ private void OnEnable()
CheckForNetworkObject((target as NetworkBehaviour).gameObject);
}

/// <summary>
/// Recursively finds the root parent of a <see cref="Transform"/>
/// </summary>
/// <param name="transform">The current <see cref="Transform"/> we are inspecting for a parent</param>
/// <returns>the root parent for the first <see cref="Transform"/> passed into the method</returns>
public static Transform GetRootParentTransform(Transform transform)
{
if (transform.parent == null || transform.parent == transform)
{
return transform;
}
return GetRootParentTransform(transform.parent);
}

/// <summary>
/// Used to determine if a GameObject has one or more NetworkBehaviours but
/// does not already have a NetworkObject component. If not it will notify
Expand All @@ -358,7 +344,7 @@ public static void CheckForNetworkObject(GameObject gameObject, bool networkObje
}

// Now get the root parent transform to the current GameObject (or itself)
var rootTransform = GetRootParentTransform(gameObject.transform);
var rootTransform = gameObject.transform.root;
if (!rootTransform.TryGetComponent<NetworkManager>(out var networkManager))
{
networkManager = rootTransform.GetComponentInChildren<NetworkManager>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Unity.Netcode.Editor.Configuration;
using Unity.Netcode.Editor;
using Unity.Netcode.GameObjects.Editor.Configuration;
using Unity.Netcode.Logging;
using UnityEditor;
using UnityEngine;
#if UNITY_6000_5_OR_NEWER
using UnityEngine.Assemblies;
#endif

namespace Unity.Netcode.Editor
namespace Unity.Netcode.GameObjects.Editor
{
/// <summary>
/// This <see cref="CustomEditor"/> handles the translation between the <see cref="NetworkConfig"/> and
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
using System.Collections.Generic;
using System.Linq;
using Unity.Netcode.Editor.Configuration;
using Unity.Netcode.Editor;
using Unity.Netcode.GameObjects.Editor.Configuration;
using Unity.Netcode.Logging;
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;

namespace Unity.Netcode.Editor
namespace Unity.Netcode.GameObjects.Editor
{
#if UNITY_EDITOR
/// <summary>
Expand Down
Loading