From 9c33e4cb6f237fe2fd506ba53b86319891608689 Mon Sep 17 00:00:00 2001 From: Kaveman <55042475+Kaveinator@users.noreply.github.com> Date: Fri, 17 Oct 2025 03:32:15 -0700 Subject: [PATCH] Add Netick and ECSA --- .gitmodules | 3 + Assets/Netick.meta | 8 +++ Assets/Netick/Resources.meta | 8 +++ Assets/Netick/Resources/netickConfig.asset | 56 +++++++++++++++++++ .../Netick/Resources/netickConfig.asset.meta | 8 +++ Assets/Scripts.meta | 8 +++ Assets/Scripts/Netick.Unity.ECSA | 1 + Assets/Scripts/Netick.Unity.ECSA.meta | 8 +++ Packages/manifest.json | 1 + Packages/packages-lock.json | 41 +++++++++++++- ProjectSettings/ProjectSettings.asset | 3 +- 11 files changed, 143 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 100644 Assets/Netick.meta create mode 100644 Assets/Netick/Resources.meta create mode 100644 Assets/Netick/Resources/netickConfig.asset create mode 100644 Assets/Netick/Resources/netickConfig.asset.meta create mode 100644 Assets/Scripts.meta create mode 160000 Assets/Scripts/Netick.Unity.ECSA create mode 100644 Assets/Scripts/Netick.Unity.ECSA.meta diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..d653273 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "Assets/Scripts/Netick.Unity.ECSA"] + path = Assets/Scripts/Netick.Unity.ECSA + url = https://git.kavemans.dev/Kaveman/Netick.Unity.ECSA.git diff --git a/Assets/Netick.meta b/Assets/Netick.meta new file mode 100644 index 0000000..e95c323 --- /dev/null +++ b/Assets/Netick.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6dd0067e5320e67499416baf18fe81a3 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Netick/Resources.meta b/Assets/Netick/Resources.meta new file mode 100644 index 0000000..0b2e230 --- /dev/null +++ b/Assets/Netick/Resources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 65def1a0fb1fdc94ca55e5b9daec2858 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Netick/Resources/netickConfig.asset b/Assets/Netick/Resources/netickConfig.asset new file mode 100644 index 0000000..707963b --- /dev/null +++ b/Assets/Netick/Resources/netickConfig.asset @@ -0,0 +1,56 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 2061283162, guid: da78c2c9df60edc4fb5f65b59fa57c41, type: 3} + m_Name: netickConfig + m_EditorClassIdentifier: + Prefabs: [] + AutoGetPrefabs: 1 + PrefabsPath: Assets/ + TickRate: 30 + MaxAllowedTimestep: 0.2 + MaxPlayers: 16 + MaxObjects: 512 + MaxSendableDataSize: 15000 + StateAllocatorBlockSize: 131072 + MetaAllocatorBlockSize: 1048576 + AggressivePreAllocation: 0 + MaxPredictedTicks: 64 + ServerDivisor: 1 + PhysicsPrediction: 0 + PhysicsType: 1 + InvokeRenderInHeadless: 0 + InvokeUpdate: 1 + RenderInvokeOrder: 1 + MaxAdditiveScenes: 4 + InputReuseAtLowFPS: 1 + ExtraInterpolationDelay: 0 + AccurateLocalInterpolation: 0 + EnableMultithreading: 0 + EnableLogging: 1 + EnableProfiling: 0 + EnableLagCompensation: 0 + EnableInterestManagement: 0 + EnableNarrowphaseFiltering: 0 + CustomGroupCount: 2 + AoILayerCount: 1 + WorldSize: {x: 8000, y: 1, z: 8000} + FastSerialization: 1 + SyncTransformOnSpawn: 1 + IncludeInactiveObjects: 0 + AoILayer0CellSize: 750 + AoILayer1CellSize: 750 + AoILayer2CellSize: 750 + AoILayer3CellSize: 750 + AoILayer4CellSize: 750 + RenderWorldGrid: 0 + RenderedLayer: 0 + LagCompensationDebug: 1 diff --git a/Assets/Netick/Resources/netickConfig.asset.meta b/Assets/Netick/Resources/netickConfig.asset.meta new file mode 100644 index 0000000..b18f9a4 --- /dev/null +++ b/Assets/Netick/Resources/netickConfig.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 612c88375acaae540a6dd423fd8fbc5e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta new file mode 100644 index 0000000..d4bcab7 --- /dev/null +++ b/Assets/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: cc6f6ae08a4befd4cb2a0b68b9df2708 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Netick.Unity.ECSA b/Assets/Scripts/Netick.Unity.ECSA new file mode 160000 index 0000000..1d4fb7e --- /dev/null +++ b/Assets/Scripts/Netick.Unity.ECSA @@ -0,0 +1 @@ +Subproject commit 1d4fb7e6e265b2963767c7a0fe098c9a4606f0bd diff --git a/Assets/Scripts/Netick.Unity.ECSA.meta b/Assets/Scripts/Netick.Unity.ECSA.meta new file mode 100644 index 0000000..6898ed5 --- /dev/null +++ b/Assets/Scripts/Netick.Unity.ECSA.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ec182b2a16059b84c9c075c82e83a369 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Packages/manifest.json b/Packages/manifest.json index d78c7a8..2268a5c 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,5 +1,6 @@ { "dependencies": { + "com.karrar.netick": "https://git.kavemans.dev/Kaveman/Netick.Unity.git", "com.unity.collab-proxy": "2.10.0", "com.unity.ide.rider": "3.0.31", "com.unity.ide.visualstudio": "2.0.22", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index c52988f..3297f50 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -1,5 +1,30 @@ { "dependencies": { + "com.karrar.netick": { + "version": "https://git.kavemans.dev/Kaveman/Netick.Unity.git", + "depth": 0, + "source": "git", + "dependencies": { + "com.unity.nuget.mono-cecil": "1.11.4", + "com.unity.addressables": "1.22.3" + }, + "hash": "17a862ccc258909ac2f4113ded27ee5e37d852b8" + }, + "com.unity.addressables": { + "version": "2.2.2", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.profiling.core": "1.0.2", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.scriptablebuildpipeline": "2.1.4", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0" + }, + "url": "https://packages.unity.com" + }, "com.unity.burst": { "version": "1.8.19", "depth": 2, @@ -72,7 +97,14 @@ }, "com.unity.nuget.mono-cecil": { "version": "1.11.4", - "depth": 3, + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.profiling.core": { + "version": "1.0.2", + "depth": 2, "source": "registry", "dependencies": {}, "url": "https://packages.unity.com" @@ -120,6 +152,13 @@ "com.unity.modules.terrain": "1.0.0" } }, + "com.unity.scriptablebuildpipeline": { + "version": "2.1.4", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, "com.unity.searcher": { "version": "4.9.3", "depth": 2, diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 4a5f60a..c61bdc6 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -816,7 +816,8 @@ PlayerSettings: webGLWebAssemblyBigInt: 0 webGLCloseOnQuit: 0 webWasm2023: 0 - scriptingDefineSymbols: {} + scriptingDefineSymbols: + Standalone: NETICK additionalCompilerArguments: {} platformArchitecture: {} scriptingBackend: