CubeCoders / AMP

Issue tracking and documentation for AMP
https://cubecoders.com/AMP
207 stars 38 forks source link

Terraria error: "!!! Fatal Error: Steam failed to load: Wrapper not implemented" #301

Closed jrsrjrsr closed 4 years ago

jrsrjrsr commented 4 years ago

Bug Report

System Information

I confirm:

Symptoms

When running a new Terraria instance, I get the following error (with Monitoring.LogLevel=0), !!! Fatal Error: Steam failed to load: Wrapper not implemented. The log output is as follows:

CPID: 8148
Redirecting stderr to 'd:\TerrariaServerWorlds\logs\stderr.txt'
[  0%] Checking for available updates...
[----] Download complete.
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Failed to apply update, reverting...
[----] Verifying installation...
[  0%] Downloading update...
[  0%] Checking for available updates...
[----] Download complete.
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Failed to apply update, reverting...
[----] !!! Fatal Error: Steam failed to load: Wrapper not implemented

Reproduction

I installed and started a new instance.

jrsrjrsr commented 4 years ago

After further troubleshooting, it looks like this was a result of my Antivirus program (Vipre). I am not sure if it was a firewall problem or something called "ActiveProtection", but after turning both off, AMP got past this point and asked me for my Steam credentials.

I am leaving issue open, but will come back and close once I can debug further and provide more detailed info as to the cause.

jrsrjrsr commented 4 years ago

I isolated the problem to the "Active Protection" feature of Vipre. It was not a firewall problem.

Looking at the bootstrap_log.txt in the logs directory of the Terraria instance, it seems as if the antivirus program is blocking the copy of a dll or exe from the steamcmd temporary download into the instance's siteserverui/win32 directory. When shutting off the "Active Protection" feature, this file move is allowed and the process continues as expected.