Startup Issue with Enshrouded - Enshrouded crashes when launched through AMP

System Information

Field Value
Operating System Windows - Windows Server 2019 on x86_64
Product AMP ‘Proteus’ v2.8.0.8 (Mainline)
Virtualization None
Application Enshrouded
Module GenericModule
Running in Container No
Current State Stopped

Problem Description

Issue

I am experiencing a startup issue with Enshrouded when running it through AMP on Windows Server 2019.

System information:

  • Operating System: Windows Server 2019 Standard (Build 17763)
  • CPU: Intel Xeon Silver 4208
  • RAM: 64 GB
  • AMP: Up to date
  • Enshrouded Dedicated Server: Steam App ID 2278520
  • Game Version (SVN): 1267041
  • Installation Path: C:\AMPDatastore\Instances\Enshrouded01\enshrouded\2278520

Problem:

When I start Enshrouded through AMP, the server initializes and successfully connects to Steam, but the process unexpectedly terminates before completing world loading.

AMP reports the following error:

This task could not be completed:
Starting Enshrouded... - State: 3.

Application stopped unexpectedly with exit code -532265403.

After two consecutive failures, AMP stops attempting to restart the application.

Important finding:

If I manually run enshrouded_server.exe from the same installation directory, the dedicated server starts and remains running without crashing.

The manual startup logs confirm:

[online] Server connected to Steam successfully
[server] Savegame deserialization took 852.48 ms
Path Grid Game Loaded State Changed : true
[game_server] Switching state from LoadEcsScene to Run

I also verified that the server process successfully binds to UDP port 15637.

This suggests that the issue may be related to how AMP launches or manages the game process rather than the dedicated server executable itself.

Troubleshooting performed:

  • Verified the game installation using SteamCMD successfully.
  • Updated AMP and refreshed the Enshrouded template.
  • Recreated the Enshrouded instance.
  • Tried configuring one or multiple server tags, without success.
  • Confirmed that the installation path contains no spaces.
  • Verified that the CPU supports AVX and AVX2.
  • Confirmed that the AMP service runs under NT AUTHORITY\NETWORK SERVICE, while the manually launched game process runs under Administrator.
  • Checked NTFS permissions on the installation and savegame directories.

I also encountered an access-denied error when attempting to delete the instance through AMP and had to manually remove its files before completing the deletion.

Could you please investigate whether this is related to the Enshrouded AMP template, the startup working directory, environment variables, or the Windows service execution context?

I can provide additional AMP logs and server logs if needed.

Thank you for your assistance.

Reproduction Steps

  • Create a new Enshrouded instance in AMP on Windows Server 2019 Standard.
  • Install the dedicated server using AMP and wait for SteamCMD to finish downloading and verifying the game files.
  • Start the Enshrouded server using the Start button in AMP.
  • Observe that the server connects to Steam successfully but crashes during startup with exit code -532265403.
  • Stop the failed AMP startup attempts, then manually launch enshrouded_server.exe from the game installation directory.