- Home /
Unity2019.2.0f1 Script Compiler: Failed to initialize CoreCLR
When I open Unity2019.2.0f1.The editor has two errors, none of which have any information. Open the Editor Log to see this.
-----CompilerOutput:-stdout--exitcode: -2147450743--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
-----CompilerOutput:-stderr----------
Failed to initialize CoreCLR, HRESULT: 0x80131534
-----EndCompilerOutput---------------
- Finished compile Library/ScriptAssemblies/Assembly-CSharp.dll
I do not know why the CoreCLR initialization failed.HRESULT: 0x80131534 what does that mean?
I used VS2019 + unity2019.2.0f1 + dotnet-sdk-2.2.401
Please help~
I'm having a similar problem on a machine today, reinstalled Unity a few times, still can't resolve it!! super annoying:
-----CompilerOutput:-stdout--exitcode: -2147450743--compilationhadfailure: True--outfile: Temp/UnityEngine.UI.dll
-----CompilerOutput:-stderr----------
Failed to initialize CoreCLR, HRESULT: 0x80131534
-----EndCompilerOutput---------------
- Finished compile Library/ScriptAssemblies/UnityEngine.UI.dll
I can't compile my game because of this. Does anybody have any ideas at all?
Answer by naviln · May 13, 2020 at 10:15 AM
Well, i hit this issue recently, and somehow randomly found that the unity shortcut on my desktop had the compatibility setting ticked for Windows 8. (Right click, properties and compatibility tab). I turned it off and it started working.
(No idea if that is the correct fix, it seemed to work for me.)
Answer by Zeno-Hong · Aug 12, 2019 at 05:48 AM
I don't know why. I changed the installation location and installed Unity2018.4.5, but it did not appear again.
Your answer

Follow this Question
Related Questions
Limit rotation for a statue puzzle 1 Answer
SDK updater failed 0 Answers
I get 2 errors in my AI script and 1 warning and can`t figure it out by myself.. 1 Answer
ScreenPointToRay 1 Answer