Solution 2: Reset the Sims 4 Files to Factory Settings: After repairing the game, check if the game is clear of the script error.Now right-click on the icon of Sims 4 and then in the context menu, click on Repair.Open the Origin client and navigate to My Game Library.In this case, repairing the game files may solve the issue. This is mainly because the game tries to access the game files but if it doesn’t find any, it crashes the operation. Moreover, the misconfigured library files of the game can also cause the script failed error. If the game files of Sims 4 are corrupt or some are missing, then the game may show the error under discussion. Solution 1: Repair the Game Files of Sims 4