版本:ET8.1。
游戏在编辑器模式可以正常运行。无任何报错
编译也成功。
按照打包流程:
3. 点击HybridCLR -> Installer,点击安装,等待安装完成
4. 点击Unity菜单 -> ET -> Compile(或按快捷键**F6**)进行编译
5. 点击HybridCLR -> Generate -> All,
在第5步的时候,在生成的时候,出现了以下报错:
UnityEditor.dll assembly is referenced by user code, but this is not allowed.
UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions)
HybridCLR.Editor.Commands.StripAOTDllCommand:GenerateStripedAOTDlls (UnityEditor.BuildTarget) (at ./Library/PackageCache/com.code-philosophy.hybridclr@51da1d4c43/Editor/Commands/StripAOTDllCommand.cs:126)
HybridCLR.Editor.Commands.PrebuildCommand:GenerateAll () (at ./Library/PackageCache/com.code-philosophy.hybridclr@51da1d4c43/Editor/Commands/PrebuildCommand.cs:26)
图片如下
[upl-image-preview url=https://et-framework.cn/assets/files/2024-11-30/1732975119-126165-bug.jp
[upl-image-preview url=
求助,悬赏20元。
]
]