Fix Unity Editor Crashing In KVM

Or: How to fix Unity error 0x0000142

I wish I could re-find the Unity Community article where I found this solution so I could credit the original source. If I find it I’ll link here.

Anyway, if you’re here you might be getting error 0x0000142 trying to run Unity Editor 2019.2.x in a virtual machine in KVM (or another hypervisor).

The culprit is openimagedenoise.dll

The fix is simple: Install any version of Unity Editor 2019.3.x (either directly or from the Unity Hub) and copy openimagedenoise.dll from the Unity Editor 2019.3.x folder to the Unity Editor 2019.2.x folder. Overwrite the existing file.

If you’re using Unity Hub that’s:
From: C:\Program Files\Unity\Hub\Editor\2019.3.0b4\Editor\openimagedenoise.dll
(Replace 2019.3.0b4 with whatever 2019.3 version you installed)
To: C:\Program Files\Unity\Hub\Editor\2019.2.18f1\Editor
(Again, replace 2019.2.18f1 with whatever 2019.2 version you’re using)

That’s it! Run Unity 2019.2 and everything should just work.

2 thoughts on “Fix Unity Editor Crashing In KVM”

Leave a Reply to adam Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.