[M] upgrade Unity 2022.3.62 and fix link parsing

Upgraded Unity editor to 2022.3.62f2c1 with related package updates. Fixed LinkAccoutResult JSON parsing to properly handle bindInfo as dictionary. Added Android namespace configuration.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-25 18:19:30 +08:00
parent 58a29b0335
commit 638e6a3327
8 changed files with 35 additions and 24 deletions

View File

@@ -62,6 +62,7 @@ dependencies {
// Android Resolver Exclusions Start // Android Resolver Exclusions Start
android { android {
namespace "com.unity3d.player"
packagingOptions { packagingOptions {
exclude ('/lib/armeabi/*' + '*') exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/mips/*' + '*') exclude ('/lib/mips/*' + '*')

View File

@@ -1715,8 +1715,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0} m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0, y: 175.13513} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: -350.2703} m_SizeDelta: {x: 0, y: -0.000030517578}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1044920374 --- !u!114 &1044920374
MonoBehaviour: MonoBehaviour:

View File

@@ -3,16 +3,16 @@
"com.github.skistua.unity-vimeditor": "https://gitee.com/b166er/unity-vimeditor.git", "com.github.skistua.unity-vimeditor": "https://gitee.com/b166er/unity-vimeditor.git",
"com.neuecc.unirx": "file:../LocalPackages/com.neuecc.unirx", "com.neuecc.unirx": "file:../LocalPackages/com.neuecc.unirx",
"com.unity.addressables": "1.22.3", "com.unity.addressables": "1.22.3",
"com.unity.collab-proxy": "2.5.2", "com.unity.collab-proxy": "2.7.1",
"com.unity.ide.rider": "3.0.34", "com.unity.ide.rider": "3.0.36",
"com.unity.ide.visualstudio": "2.0.22", "com.unity.ide.visualstudio": "2.0.22",
"com.unity.ide.vscode": "1.2.5", "com.unity.ide.vscode": "1.2.5",
"com.unity.mobile.android-logcat": "1.4.3", "com.unity.mobile.android-logcat": "1.4.5",
"com.unity.nuget.newtonsoft-json": "3.2.1", "com.unity.nuget.newtonsoft-json": "3.2.1",
"com.unity.render-pipelines.universal": "14.0.11", "com.unity.render-pipelines.universal": "14.0.12",
"com.unity.test-framework": "1.1.33", "com.unity.test-framework": "1.1.33",
"com.unity.textmeshpro": "3.0.7", "com.unity.textmeshpro": "3.0.7",
"com.unity.timeline": "1.7.6", "com.unity.timeline": "1.7.7",
"com.unity.ugui": "1.0.0", "com.unity.ugui": "1.0.0",
"com.unity.visualscripting": "1.9.4", "com.unity.visualscripting": "1.9.4",
"com.unity.modules.ai": "1.0.0", "com.unity.modules.ai": "1.0.0",

View File

@@ -34,7 +34,7 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.burst": { "com.unity.burst": {
"version": "1.8.18", "version": "1.8.21",
"depth": 1, "depth": 1,
"source": "registry", "source": "registry",
"dependencies": { "dependencies": {
@@ -44,7 +44,7 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.collab-proxy": { "com.unity.collab-proxy": {
"version": "2.5.2", "version": "2.7.1",
"depth": 0, "depth": 0,
"source": "registry", "source": "registry",
"dependencies": {}, "dependencies": {},
@@ -58,7 +58,7 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.ide.rider": { "com.unity.ide.rider": {
"version": "3.0.34", "version": "3.0.36",
"depth": 0, "depth": 0,
"source": "registry", "source": "registry",
"dependencies": { "dependencies": {
@@ -90,7 +90,7 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.mobile.android-logcat": { "com.unity.mobile.android-logcat": {
"version": "1.4.3", "version": "1.4.5",
"depth": 0, "depth": 0,
"source": "registry", "source": "registry",
"dependencies": {}, "dependencies": {},
@@ -104,7 +104,7 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.render-pipelines.core": { "com.unity.render-pipelines.core": {
"version": "14.0.11", "version": "14.0.12",
"depth": 1, "depth": 1,
"source": "builtin", "source": "builtin",
"dependencies": { "dependencies": {
@@ -115,14 +115,14 @@
} }
}, },
"com.unity.render-pipelines.universal": { "com.unity.render-pipelines.universal": {
"version": "14.0.11", "version": "14.0.12",
"depth": 0, "depth": 0,
"source": "builtin", "source": "builtin",
"dependencies": { "dependencies": {
"com.unity.mathematics": "1.2.1", "com.unity.mathematics": "1.2.1",
"com.unity.burst": "1.8.9", "com.unity.burst": "1.8.9",
"com.unity.render-pipelines.core": "14.0.11", "com.unity.render-pipelines.core": "14.0.12",
"com.unity.shadergraph": "14.0.11", "com.unity.shadergraph": "14.0.12",
"com.unity.render-pipelines.universal-config": "14.0.9" "com.unity.render-pipelines.universal-config": "14.0.9"
} }
}, },
@@ -149,11 +149,11 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.shadergraph": { "com.unity.shadergraph": {
"version": "14.0.11", "version": "14.0.12",
"depth": 1, "depth": 1,
"source": "builtin", "source": "builtin",
"dependencies": { "dependencies": {
"com.unity.render-pipelines.core": "14.0.11", "com.unity.render-pipelines.core": "14.0.12",
"com.unity.searcher": "4.9.2" "com.unity.searcher": "4.9.2"
} }
}, },
@@ -178,13 +178,13 @@
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"
}, },
"com.unity.timeline": { "com.unity.timeline": {
"version": "1.7.6", "version": "1.7.7",
"depth": 0, "depth": 0,
"source": "registry", "source": "registry",
"dependencies": { "dependencies": {
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.director": "1.0.0", "com.unity.modules.director": "1.0.0",
"com.unity.modules.animation": "1.0.0", "com.unity.modules.animation": "1.0.0",
"com.unity.modules.audio": "1.0.0",
"com.unity.modules.particlesystem": "1.0.0" "com.unity.modules.particlesystem": "1.0.0"
}, },
"url": "https://packages.unity.cn" "url": "https://packages.unity.cn"

View File

@@ -5,6 +5,7 @@ using System.Security.Cryptography;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using asap.core; using asap.core;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using UnityEngine; using UnityEngine;
@@ -312,13 +313,18 @@ namespace tysdk
public void LinkAccoutResult(string message) public void LinkAccoutResult(string message)
{ {
JObject data = new JObject(message); JObject data = JObject.Parse(message);
var result = new LinkResult() var result = new LinkResult()
{ {
code = data["code"].Value<int>(), code = data["code"].Value<int>(),
userId = data["userId"].Value<int>() userId = data["userId"].Value<int>(),
}; };
if (data.ContainsKey("bindInfo"))
{
result.bindInfo = JsonConvert.DeserializeObject<Dictionary<string, string>>(data.GetValue(@"bindInfo").ToString());
}
TYSDKCallbackManager.Instance.TryTriggerCallback(result); TYSDKCallbackManager.Instance.TryTriggerCallback(result);
} }
#endif #endif

View File

@@ -30,7 +30,7 @@ namespace tysdk
// when exists userId is 0 // when exists userId is 0
public int userId; public int userId;
// not none when exists // not none when exists
public string bindInfo; public Dictionary<string, string> bindInfo;
} }
public class LinkCheckInfo public class LinkCheckInfo

View File

@@ -77,6 +77,7 @@ PlayerSettings:
androidMinimumWindowHeight: 300 androidMinimumWindowHeight: 300
androidFullscreenMode: 1 androidFullscreenMode: 1
androidAutoRotationBehavior: 1 androidAutoRotationBehavior: 1
androidPredictiveBackSupport: 1
defaultIsNativeResolution: 1 defaultIsNativeResolution: 1
macRetinaSupport: 1 macRetinaSupport: 1
runInBackground: 0 runInBackground: 0
@@ -188,8 +189,10 @@ PlayerSettings:
strictShaderVariantMatching: 0 strictShaderVariantMatching: 0
VertexChannelCompressionMask: 4054 VertexChannelCompressionMask: 4054
iPhoneSdkVersion: 988 iPhoneSdkVersion: 988
iOSSimulatorArchitecture: 0
iOSTargetOSVersionString: 12.0 iOSTargetOSVersionString: 12.0
tvOSSdkVersion: 0 tvOSSdkVersion: 0
tvOSSimulatorArchitecture: 0
tvOSRequireExtendedGameController: 0 tvOSRequireExtendedGameController: 0
tvOSTargetOSVersionString: 12.0 tvOSTargetOSVersionString: 12.0
VisionOSSdkVersion: 0 VisionOSSdkVersion: 0
@@ -698,6 +701,7 @@ PlayerSettings:
switchSocketBufferEfficiency: 4 switchSocketBufferEfficiency: 4
switchSocketInitializeEnabled: 1 switchSocketInitializeEnabled: 1
switchNetworkInterfaceManagerInitializeEnabled: 1 switchNetworkInterfaceManagerInitializeEnabled: 1
switchDisableHTCSPlayerConnection: 0
switchUseNewStyleFilepaths: 0 switchUseNewStyleFilepaths: 0
switchUseLegacyFmodPriorities: 0 switchUseLegacyFmodPriorities: 0
switchUseMicroSleepForYield: 1 switchUseMicroSleepForYield: 1

View File

@@ -1,2 +1,2 @@
m_EditorVersion: 2022.3.53f1c1 m_EditorVersion: 2022.3.62f2c1
m_EditorVersionWithRevision: 2022.3.53f1c1 (f16e16b78e06) m_EditorVersionWithRevision: 2022.3.62f2c1 (92e6e6be66dc)