GREAT1217 / StarForce_HybridCLR

使用 HybridCLR 对 StarForce 实现游戏逻辑热更新。
MIT License
102 stars 21 forks source link

2021.3.14打包运行报错 #11

Closed spadd closed 1 year ago

spadd commented 2 years ago

MissingMethodException: MethodNotFind System.Collections.Generic.Dictionary2[Game.Hotfix.GameMode,Game.Hotfix.GameBase]::Initialize at System.Collections.Generic.Dictionary2[TKey,TValue]..ctor () [0x00000] in <00000000000000000000000000000000>:0 at Game.Hotfix.ProcedureMain..ctor () [0x00000] in <00000000000000000000000000000000>:0 at Game.Hotfix.GameHotfixEntry.StartHotfix () [0x00000] in <00000000000000000000000000000000>:0 at Game.Hotfix.GameHotfixEntry.OnLoadAOTDllSuccess (System.String assetName, System.Object asset, System.Single duration, System.Object userdata) [0x00000] in <00000000000000000000000000000000>:0 at GameFramework.WebRequest.WebRequestManager+WebRequestTask.set_Status (GameFramework.WebRequest.WebRequestManager+WebRequestTaskStatus value) [0x00000] in <00000000000000000000000000000000>:0 at GameFramework.Resource.ResourceManager+ResourceLoader+LoadAssetTask.OnLoadAssetSuccess (GameFramework.Resource.ResourceManager+ResourceLoader+LoadResourceAgent agent, System.Object asset, System.Single duration) [0x00000] in <00000000000000000000000000000000>:0 at GameFramework.Resource.ResourceManager+ResourceLoader+LoadResourceAgent.OnAssetObjectReady (GameFramework.Resource.ResourceManager+ResourceLoader+AssetObject assetObject) [0x00000] in <00000000000000000000000000000000>:0 at GameFramework.Resource.ResourceManager+ResourceLoader+LoadResourceAgent.OnLoadResourceAgentHelperLoadComplete (System.Object sender, GameFramework.Resource.LoadResourceAgentHelperLoadCompleteEventArgs e) [0x00000] in <00000000000000000000000000000000>:0 at Game.XmlLocalizationHelper..ctor () [0x00000] in <00000000000000000000000000000000>:0 at UnityGameFramework.Runtime.DefaultLoadResourceAgentHelper.UpdateAssetBundleRequest () [0x00000] in <00000000000000000000000000000000>:0 at UnityGameFramework.Runtime.DefaultLoadResourceAgentHelper.Update () [0x00000] in <00000000000000000000000000000000>:0

Yanghuliang commented 1 year ago

同问

GREAT1217 commented 1 year ago

你好,我刚刚更新了HybridCLR的package,打包后没有出现错误。 2023-02-21_005528

Yanghuliang commented 1 year ago

谢谢,麻烦您了。我在尝试下吧

---原始邮件--- 发件人: @.> 发送时间: 2023年2月21日(周二) 凌晨1:00 收件人: @.>; 抄送: @.**@.>; 主题: Re: [GREAT1217/StarForce_HybridCLR] 2021.3.14打包运行报错 (Issue #11)

你好,我刚刚更新了HybridCLR的package,打包后没有出现错误。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

Yanghuliang commented 1 year ago

我解决了原来报错问题,但是又出现新的问题,想来应该是项目配置问题,您方便截图下Project Settings 下的HybridCLR Settings 配置截图下,或者可以发下您现在运行没有错误的项目。非常希望您的帮助,我第一用框架而且由于打包出发生的错误,解决方法毫无头绪。再次表达对您的谢意。

------------------ 原始邮件 ------------------ 发件人: "GREAT1217/StarForce_HybridCLR" @.>; 发送时间: 2023年2月21日(星期二) 凌晨1:00 @.>; @.**@.>; 主题: Re: [GREAT1217/StarForce_HybridCLR] 2021.3.14打包运行报错 (Issue #11)

你好,我刚刚更新了HybridCLR的package,打包后没有出现错误。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

GREAT1217 commented 1 year ago

你好,我的项目在家里的电脑,今天得稍晚一点。晚上会再回复你。

我看了一下ProjectSettings的HybridCLRSettings.asset是三天前更新的。 你可以尝试一下: 1.在PackageManager中将HybridCLR移除 2.然后重新使用PackageManager导入https://gitee.com/focus-creative-games/hybridclr_unity.git 3.再将ParojectSettings的HybridCLRSettings.asset回滚到当前git的版本

Yanghuliang commented 1 year ago

不急,您先忙。刚才按照步骤进行可是依然报错,下面是报错信息。如果您完成上有空麻烦您看下

------------------ 原始邮件 ------------------ 发件人: "GREAT1217/StarForce_HybridCLR" @.>; 发送时间: 2023年2月24日(星期五) 中午1:11 @.>; @.**@.>; 主题: Re: [GREAT1217/StarForce_HybridCLR] 2021.3.14打包运行报错 (Issue #11)

你好,我的项目在家里的电脑,今天得稍晚一点。晚上会再回复你。

我看了一下ProjectSettings的HybridCLRSettings.asset是三天前更新的。 你可以尝试一下: 1.在PackageManager中将HybridCLR移除 2.然后重新使用PackageManager导入https://gitee.com/focus-creative-games/hybridclr_unity.git 3.再将ParojectSettings的HybridCLRSettings.asset回滚到当前git的版本

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

GREAT1217 commented 1 year ago

2023-02-24_234339

Yanghuliang commented 1 year ago

非常感谢

---原始邮件--- 发件人: @.> 发送时间: 2023年2月24日(周五) 晚上11:49 收件人: @.>; 抄送: @.**@.>; 主题: Re: [GREAT1217/StarForce_HybridCLR] 2021.3.14打包运行报错 (Issue #11)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>