Ahh, found a culprit.
Some time ago I turned off the UDP Messaging plugin because the game was stuttering because of it every 2 seconds. Turned it on again and lighting building works now.
It’s weird that I have no stutters now… well, I hope it stays that way.