-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
# 支持的Unity版本和平台 | ||
|
||
HybridCLR已经稳定支持了2019.4.x、2020.3.x、2021.3.x、2022.3.x 系列LTS版本,并且支持主流的 Win、MacOS、Android、iOS、WebGL平台。 | ||
HybridCLR已经稳定支持了2019.4.x、2020.3.x、2021.3.x、2022.3.x 系列LTS版本,并且支持所有il2cpp支持的平台。 | ||
|
||
## 兼容的Unity版本 | ||
|
||
|
@@ -38,12 +38,25 @@ HybridCLR已经稳定支持了2019.4.x、2020.3.x、2021.3.x、2022.3.x 系列LT | |
- WebGL 标准WebGL、MiniGame、微信小游戏 | ||
- PS4、PS5 | ||
- UWP | ||
- 华为Harmony(鸿蒙)平台(当前只有团结引擎支持鸿蒙) | ||
|
||
以下是理论支持,但实践中有可能残留小bug的平台: | ||
|
||
- tvOS | ||
- 其他平台 | ||
|
||
## 团结引擎 | ||
|
||
已经支持团结引擎。由于版权原因社区版本支持团结引擎的分支不再公开发布,需要使用贵公司邮箱联系[email protected],附带介绍项目情况(项目名称、项目类型之类的信息),同时在邮件中`承诺不公开或者向除本项目以外的其他公司或个人分享这些资料信息`,可免费获得团结引擎支持相关的指导资料。 | ||
|
||
社区版本只支持2022.3.2t2版本的团结引擎,不再持续合并自`com.code-philosophy.hybridclr` 5.0.1及后版本的改动,需要使用者自己手动合并主线的改动。 | ||
|
||
:::tip | ||
|
||
需要长期获得团结引擎相关的稳定支持,请购买商业化版本。 | ||
|
||
::: | ||
|
||
## 特殊说明 | ||
|
||
### 微信小游戏 | ||
|
@@ -57,3 +70,6 @@ HybridCLR已经稳定支持了2019.4.x、2020.3.x、2021.3.x、2022.3.x 系列LT | |
|
||
- MiniGame2019和2020版本的推荐版本与HybridCLR的兼容版本有交叉,尽量直接选择那些交叉版本(如2019.4.35、2020.3.33),因为已经被项目验证过,基本不会遇到问题。 | ||
- MiniGame2021系列推荐版本为2021.2.5-2021.2.18,非HybridCLR支持的LTS版本,但这些版本已经被其他开发者验证过,也是可以正常使用HybridCLR的(可能需要少量代码调整)。如果有遇到问题,可以联系我们提供商业技术支持。 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# 常见问题 | ||
|
||
## ExecutionEngineException: Could not run the type initializer for origin DHE type 'xxx' | ||
|
||
原因是 意外创建了被DHE替换的原始AOT类型。使用DHE后,不能再创建DHE程序集中类型对应的原始类型。有几个导致这个错误的原因: | ||
|
||
- 未加载DHE程序集前就执行了DHE程序集中代码 | ||
- 热更新dhe dll与dhao文件不匹配,导致错误地执行了本不应该被执行的原始AOT代码,创建了原始AOT类型。只有4.5.7及更早的没有严格校验dll的版本才会有此错误 | ||
- 抛出异常或打印日志时,获得函数帧栈过程中,意外访问了DHE程序集的原始函数。4.5.8及更早版本有此bug | ||
|