Script Compilation Error Witcher 3 Fix for Windows 10/8.1/7

RushInformation recommends Hello Ivy for automating your workflow and project management for free. Learn More

The Witcher 3 has been one of the most popular game in the series, and the popularity has been on peak since the launch. The latest patch of Witcher 3 came out just a few months ago may be 2 months to be specific. The latest Witcher 3 fixed a lot of issues that the users were facing earlier. However, the patch also brought several other errors with it. One of the most common issues reported by the user after the patch was the mods not working and your gears disappearing from the inventory. Though, the inventory issue may not be a big problem, Mods are not working was the most annoying issues faced by the users. If you try to use any mod, then you would end up with the script compilation error. Fortunately, several users have tried to fix the script compilation error, and some fixes seem to be working for many.

Script Compilation Error Witcher 3 Fix for Windows 10-8.1-7-min

Here we have two methods to fix the script compilation error in Witcher 3. This will work on Windows 10, Windows 8.1 and Windows 7. The first method requires you to delete a folder from the games installation folder and the second method would require you to add a new missing file to make the mods work and get rid of the script compilation error in Witcher 3. So, let’s see how to do it.

Method 1: By Deleting Hacks Folder

The first method requires you to delete the hacks folder from the installation folder of Witcher 3.  Note, for this to work you should be running the Patch 1.10 version of Witcher 3.

    • So, open File Explorer and navigate to the folder where you have installed the Witcher 3 – Wild Hunt.  So, double-click and open the Witcher 3 installation folder.
  • Click and open the Content folder and then open the Content0 folder. Next, open the Scripts folder and then open the Game folder. Now find and open Behavior_Tree folder and then open the Tasks folder. Here find the Hacks folder and delete it.

Once done, try to run the game and see if the script compilation error is fixed in Witcher 3.

Method 2: Create TelemetryKeyword.ws File

If the method one didn’t work for you and if you are still facing the script compilation error, then try method 2. Here we will be creating a telemetrykeyword.ws file and copy to the Scripts\engine location.

Open a text editor such as Notepad ++ and copy the code given below.

/* Copyright © CD Projekt RED 2015 */ import class CR4TelemetryScriptProxy extends CObject { import final function Log( eventType : ER4TelemetryEvents ); import final function LogWithLabel( eventType : ER4TelemetryEvents, label : String ); import final function LogWithValue( eventType : ER4TelemetryEvents, value : int ); import final function LogWithValueStr( eventType : ER4TelemetryEvents, value : String ); import final function LogWithLabelAndValue( eventType : ER4TelemetryEvents, label : String, value : int ); import final function LogWithLabelAndValueStr( eventType : ER4TelemetryEvents, label : String, value : String ); import final function SetCommonStatFlt( statType: ER4CommonStats, value : float ); import final function SetCommonStatI32( statType: ER4CommonStats, value : int ); import final function SetGameProgress( value : float ); import final function AddSessionTag( tag : String ); import final function RemoveSessionTag( tag : String ); import final function XDPPrintUserStats( statisticName : String ); import final function XDPPrintUserAchievement( achievementName : String ); }

Now save the file with above code as telemetryKeyword.ws.

Now move the telemetryKeyword.ws file to \content\content0\scripts\engine.  telemetryKeyword.ws file to \content\content0\scripts\engine.

Alternatively, you can also directly save the file to this folder location. If you don’t know where to look for these folders, then you should find it in Witcher 3 installation folder. Now run the game and see if the script compilation error in Witcher 3 has been fixed.

Source for the second method is a Reddit user flAked. So, don’t forget to say thanks if you found it working.

RushInformation recommends Hello Ivy for automating your workflow and project management for free. Learn More

Share This Post

Post Comment

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