admin管理员组文章数量:1025342
一、环境:Windows7
二、Unity2018.4、Unity2019
现象:打开Unity,新建一个空项目,在Console中输出几个Error,显示只有时间戳,没有内容
无法运行此空项目
三、查看Editor.log
发现有以下Log:
-----CompilerOutput:-stdout--exitcode: -2147450750--compilationhadfailure: True--outfile: Temp/Unity.TextMeshPro.dll
-----CompilerOutput:-stderr----------
Failed to load the dll from [?.], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files\Unity201918f1\Editor\Data\Tools\Roslyn\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
http://go.microsoft/fwlink/?LinkID=798306&clcid=0x409
-----EndCompilerOutput---------------
- Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.dll
表示.NET Core有问题,去微软下载KB2533623补丁即可:
https://www.microsoft/zh-cn/download/details.aspx?id=26764
下载装好就OK了
* 此问题仅存在Windows7中,Windows10无此问题
一、环境:Windows7
二、Unity2018.4、Unity2019
现象:打开Unity,新建一个空项目,在Console中输出几个Error,显示只有时间戳,没有内容
无法运行此空项目
三、查看Editor.log
发现有以下Log:
-----CompilerOutput:-stdout--exitcode: -2147450750--compilationhadfailure: True--outfile: Temp/Unity.TextMeshPro.dll
-----CompilerOutput:-stderr----------
Failed to load the dll from [?.], HRESULT: 0x80070057
The library hostfxr.dll was found, but loading it from C:\Program Files\Unity201918f1\Editor\Data\Tools\Roslyn\hostfxr.dll failed
- Installing .NET Core prerequisites might help resolve this problem.
http://go.microsoft/fwlink/?LinkID=798306&clcid=0x409
-----EndCompilerOutput---------------
- Finished compile Library/ScriptAssemblies/Unity.TextMeshPro.dll
表示.NET Core有问题,去微软下载KB2533623补丁即可:
https://www.microsoft/zh-cn/download/details.aspx?id=26764
下载装好就OK了
* 此问题仅存在Windows7中,Windows10无此问题
版权声明:本文标题:Unity2018、Unity2019在Windows7上输出异常错误无法运行空项目的问题 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1740407030a1762291.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论