Lighting Build Fail Swarm Error [Interface:OpenJob] Error: Invalid class

Decided to continue work on one of my projects today and was unable to build the lighting.

I clicked “build lighting only” then got the “Lighting build failed.” error popup in the corner. The Message Log didn’t come up with anything, so I tried building the lighting on another level that already had the lighting built. I still got the same error. I opened swarm and looked at the logs tab

Here is the solution:

Also read this article:

To fix this error I did this In PowerShell (Admin):

net stop winmgmt /y
winmgmt /resetrepository
winmgmt /salvagerepository
winmgmt /verifyrepository

Done. The lighting now builds successfully.

PS: If some commands were not necessary - please correct me.

3 Likes

I followed these steps: WMI corrupt - how to reinstall/repair?, it works now. Thank you

Thanks

MAAAN YOU ARE GOD!!! I tried everything to fix that error but it didn’t worked for me. Now with you I can package my game THAAANKS AGAIN!!!