As of yesterday morning, the server was throwing errors when restarting. I tried debugging, but no luck, so I backed up the server and tried a completely fresh vanilla install, but I still got errors.
Steps with fresh vanilla install:
1) Open CMD and execute following command (modified to remove sensitive info):
"C:\PATH\SteamCMD\steamcmd\steamcmd.exe" +login anonymous +force_install_dir "C:\SERVERPATH" +app_update 258550 validate +quit2) Download Oxide extension from this site at https://umod.org/games/rust and extract to C:\SERVERPATH
3) Execute startup script (modified to remove sensitive info):
@echo off
rem Start server up. If server restarts/quit command is used/crashes, this batch file will be run from the beginning automatically
cd "SERVERPATH"
RustDedicated.exe -batchmode ^
+server.ip IP ^
+server.port 28015 ^
+server.tickrate 30 ^
+server.hostname "SERVERNAME" ^
+server.identity "IDENTITY" ^
+server.maxplayers 100 ^
+server.saveinterval 1800 ^
+rcon.web 1 ^
+rcon.ip IP ^
+rcon.port 28017 ^
+rcon.password "PASSWORD" ^
+server.headerimage "IMAGEURL" ^
+server.url "URL" ^
+server.tags monthly,pve,roleplay ^
+server.description "DESCRIPTION" ^
-logfile "C:\LOGDIRECTORY\server.log" ^
-silent-crashes ^
+server.level "Procedural Map" ^
+server.seed 1278840779 ^
+server.worldsize 5000 ^
+backup ^
+server.secure true ^
-cheatpunch ^
+server.radiation false ^
+hotairballoon.population 0 ^
+modularcar.population 0 ^
+scraptransporthelicopter.population 0 ^
+minicopter.population 04) Error thrown during startup:
Loaded plugin Rust v2.0.5276 by Oxide Team and Contributors
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Loaded plugin Unity v2.0.3772 by Oxide Team and Contributors
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Asset Warmup (1/8871)
BadImageFormatException: Could not resolve field token 0x040047d6, due to: Could not load file or assembly 'ApexShared, Version=*.*.*.*, Culture=neutral, PublicKeyToken=null' or one of its dependencies. assembly:ApexShared, Version=*.*.*.*, Culture=neutral, PublicKeyToken=null type:<unknown type> member:(null) signature:<none> assembly:C:\ORGC\RustyGaming\RustyGamingPvE\RustDedicated_Data\Managed\Assembly-CSharp.dll type:AiManager member:(null) signature:<none>
at PrefabPreProcess.ProcessObject (System.String name, UnityEngine.GameObject go, System.Boolean resetLocalTransform) [0x001bc] in <9357151e9e52423d80616f588927d318>:0
at PrefabPreProcess.Process (System.String name, UnityEngine.GameObject go) [0x0003a] in <9357151e9e52423d80616f588927d318>:0
at GameManager.FindPrefab (System.String strPrefab) [0x0002a] in <9357151e9e52423d80616f588927d318>:0
at FileSystem_Warmup.PrefabWarmup (System.String path) [0x00000] in <9357151e9e52423d80616f588927d318>:0
at FileSystem_Warmup+<Run>d__4.MoveNext () [0x00100] in <9357151e9e52423d80616f588927d318>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <c8dc2b468d1841099baa4dd8a110cc44>:0