great1217 / starforce_hybridclr Goto Github PK
View Code? Open in Web Editor NEW使用 HybridCLR 对 StarForce 实现游戏逻辑热更新。
License: MIT License
使用 HybridCLR 对 StarForce 实现游戏逻辑热更新。
License: MIT License
HuatuoBuilderController.cs中使用GetBuildTarget((Platform)platformIndex),即使你选择的是Android平台,传过去后也变成了Win64和MAC,导致无法build android的dll~
打包工具里的HotfixGame组包含的并不是Game.dll
MissingMethodException: MethodNotFind System.Collections.Generic.Dictionary2[Game.Hotfix.GameMode,Game.Hotfix.GameBase]::Initialize at System.Collections.Generic.Dictionary
2[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
我下载项目参考,修改我的项目,但我的项目Hotfix文件夹下的脚本中,GameEntry自动引用的ugf的,无法调用事件、资源等,必须手动添加using Game。但博主你的项目不需要,我想知道这是怎么设置的,我在unity改了脚本优先级也不行
如题,希望升级一下。现在有些东西变了
你好,我遇到了一个问题
/Assets/Game/Scripts/Base/HybridCLR/RuntimeApi.cs中,21、24、27、30使用的是HuatuoApi_开头,然后我打包后,发现这个方法找不到。我看了下官方,手动将这个改成了RuntimeApi_开头。但是打包后依然报错误,这次是metadata type not match错误,请问我这种做法是对的吗?还是应该用什么办法解决此问题呀?
请问您这个demo要发布webgl版本要怎么操作?
如题,感谢大佬~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.