Are you one of them?
Why does this error occur?
Based on user feedback, this issue is often linked to yourantivirus software.

To be more specific, the antivirus program mistakenly identifies the custom.dll file as a threat and deletes it.
Here are a couple of useful workarounds for you to fix the Assassins Creed Shadows DX12 error 0x80070057/0x887A0005/0x887A0006.
How to Fix Schedule I Failed to Load Custom.dll Error Code 126
Solution 1.
![]()
Here I take Windows Defender to show you the steps.
How to turn off the real-time protection:
Step 1.
PressWindows + Ion your keyboard to open configs.

Navigate toUpdate & Security>Windows Security>Virus & threat protection.
Under theVirus & threat protection settingssection, clickManage prefs.
In the new window, switch the button ofReal-time protectiontoOff.
![]()
If yes, you’re able to restore it.
Go to theVirus & threat protectionwindow in Windows Defender, and then hitProtection history.
SelectQuarantined Itemsfrom theFiltersdrop-down menu.

Step 3. see if the custom.dll file is here.
If yes, click it, and clickActions>Restore.
it’s possible for you to use the free edition to recover 1 GB of files for free.
![]()
Here are some proven workarounds you’ve got the option to try.
Solution 2.
This will prevent the antivirus from scanning or mistakenly deleting the custom.dll file or other game files.
Open theVirus & threat protectionpage and clickManage settingsunderVirus & threat protection tweaks.
Scroll down to clickAdd or remove exclusionsunderExclusions.
ClickAdd an exclusion>Folder, and then select theSchedule Ifolder.
Bottom Line
How to fix the Schedule I failed to load custom.dll error code 126 on Windows?
Simply kill the real-time protection of your antivirus or add the game folder to the antivirus exclusion list.
Hope the information above can help you.