修复CatanBuilding备份工程打开报错
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
- Cinemachine:HexMap 摄像机控制。
|
||||
- TMPro:格子文本和面板文本。
|
||||
- UniRx:事件订阅生命周期。
|
||||
- LubanLib / SimpleJSON / Bright.Serialization:生成配置表代码依赖。
|
||||
- CodeStage AntiCheatToolkit:`PlayerData` 等基础数据使用 `ObscuredInt` / `ObscuredULong`。
|
||||
|
||||
结论:当前备份是“独立 Unity 工程备份库”,不是完全解耦的 HexBuilding SDK/package。
|
||||
|
||||
@@ -53,18 +55,21 @@ HexBuilding Addressables group 保留以下地址:
|
||||
- `Assets/Scripts/` 暂时完整保留,因为它体积小,且贸然删单个业务目录容易引入编译级引用断裂。
|
||||
- `LocalPackages/` 只保留 `manifest.json` 实际引用的本地包,以满足 `manifest.json` 的本地包路径。
|
||||
|
||||
## 验证阻塞
|
||||
## 验证记录
|
||||
|
||||
此前执行备份工程 Unity batchmode 时出现:
|
||||
修复独立工程打开问题时补齐了以下缺失依赖:
|
||||
|
||||
```text
|
||||
[Package Manager] The "path" argument must be of type string. Received undefined
|
||||
[Package Manager] Failed to update project manifest: The "path" argument must be of type string. Received undefined
|
||||
```
|
||||
- `Assets/CoreLib/`:`asap.core.dll`、`LitJSON.dll`。
|
||||
- `Assets/Plugins/Demigiant/`:DOTween / DOTweenPro。
|
||||
- `Assets/Plugins/SignalR/`:`System.Diagnostics.DiagnosticSource.dll` 及 SignalR 依赖。
|
||||
- `Assets/Plugins/LubanLib/`:`Bright.Serialization` / `SimpleJSON`。
|
||||
- `Assets/Plugins/CodeStage/`:AntiCheatToolkit obscured types。
|
||||
|
||||
对照执行源工程 `C:\Users\13999\Documents\ft_3\Client` 后,源工程也出现同样错误。因此该问题不能归因于备份工程拆分,记录为当前 Unity/UPM 或源工程包配置的既有阻塞。
|
||||
同时在 `Packages/tysdk/Runtime/TYSdkFacade.cs` 为非 Android/iOS 的 Editor/Standalone 编译添加 `clientid` 兜底,避免首次打开备份工程时因默认 Standalone build target 触发未定义变量。
|
||||
|
||||
由于 Unity 未通过 Package Manager 初始化阶段,当前未能生成 `.csproj`,因此 `dotnet build HotUpdate.csproj` / `Assembly-CSharp.csproj` 暂不可执行。
|
||||
最新 Unity batchmode 验证日志:`C:\tmp\catanbuilding-backup-open-fix-4.log`。本次未发现 `error CS`、`Exception`、`Failed`、`fatal` 等阻塞项,仅保留 Unity Licensing 客户端的非阻塞日志。
|
||||
|
||||
`dotnet build HotUpdate.csproj --no-restore` 仍不作为该备份工程的有效验证依据:`.csproj` 是 Unity 生成文件且被 `.gitignore` 忽略,当前本地旧生成文件仍可能缺少新导入插件引用。以 Unity batchmode 编译结果为准。
|
||||
|
||||
## 后续建议
|
||||
|
||||
|
||||
Reference in New Issue
Block a user