Unity2019.3.2f1安装报错
安装之后新建项目报错截图如下:
参考:https://forum.unity.com/threads/get-blank-errors-in-new-project.843817/
报错信息
打开C:\Users\UserName\AppData\Local\Unity\Editor\Editor.log发现详细信息如下:
-----CompilerOutput:-stdout--exitcode: -2147450740--compilationhadfailure: True--outfile: Temp/UnityEngine.TestRunner.dll
-----CompilerOutput:-stderr----------
Error:
An assembly specified in the application dependencies manifest (csc.deps.json) was not found:
package: 'runtime.win-x64.Microsoft.NETCore.App', version: '2.0.7'
path: 'runtimes/win-x64/native/ucrtbase.dll'
-----EndCompilerOutput---------------
解决方案
将文件夹(C:\Windows\System32)下的ucrtbase.dll
拷贝到Unity安装目录
C:\Program Files\UnityEditor\2019.3.2f1\Editor\Data\Tools\Roslyn
重新打开项目报错就消失了