diff --git a/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll b/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll index 6c1836ca4b..c82e94aa15 100644 Binary files a/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll and b/Assets/NetworkLib/Debug/netstandard2.1/CSNetwork.dll differ diff --git a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs index 6763df0fb4..fb34944012 100644 --- a/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs +++ b/Assets/PerfectWorld/Scripts/Network/UnityGameSession.cs @@ -7,6 +7,7 @@ using ModelRenderer.Scripts.Common; using System; using System.Collections; using System.Collections.Generic; +using System.IO; using System.Text; using System.Threading.Tasks; using UnityEngine; @@ -97,6 +98,8 @@ namespace BrewMonster.Network BaseSecurity.Initizalize(); ProtocolFactory.RegisterAllProtocols(); _gameSession = new GameSession(); + var path = Application.dataPath.Substring(0, Application.dataPath.LastIndexOf("Assets")); + _gameSession.SetLogPath(Path.Combine(path, "Logs", "GameSession.log")); _isInitialized = true; DontDestroyOnLoad(gameObject); diff --git a/Packages/manifest.json b/Packages/manifest.json index b4e4257856..b3d4493844 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -1,6 +1,7 @@ { "dependencies": { "com.boxqkrtm.ide.cursor": "https://github.com/boxqkrtm/com.unity.ide.cursor.git", + "com.github-glitchenzo.nugetforunity": "https://github.com/GlitchEnzo/NuGetForUnity.git?path=/src/NuGetForUnity", "com.unity.ai.navigation": "2.0.9", "com.unity.cinemachine": "3.1.4", "com.unity.collab-proxy": "2.9.3",