it's probably CDPR's fault, their stupid pre-complied scripts are broken in 1.31, so, if you try to make a mod, it wont compile, and will broke.
Ppl need to delete their content/content0/scripts folder and repair/verify their game.
It's amazing how cdpr cant be bothered to fix it. Their solution to these problems are "don't mod, you'll ruin your game" kek