SubnauticaNitrox / Nitrox

An open-source, multiplayer modification for the game Subnautica.
GNU General Public License v3.0
1.74k stars 1.05k forks source link

[##:##:## Server][ERROR] Could not load world: System.IO.InvalidDataException: Save files are not valid #1316

Closed Bunistalri closed 3 years ago

Bunistalri commented 3 years ago

Version

Alpha 1.3.0.0

Bug

Subnautica server does not load.

Expected

The black-background window appears with the fancy white computer text. An error appears in that black-background window called "[07:59:14 Server][ERROR] Could not load world: System.IO.InvalidDataException: Save files are not valid" in red text. The black-background window stays open. Subnautica does not load.

Steps to reproduce

Go to D:\Epic Games\Subnautica\Subnootica Mods Double-click on NitroxLauncher.exe Nitrox launches Click on Server and click on the blue button that says "START SERVER NITROX ALPHA 1.3.0.0." The black-background window appears. The error appears in red. The rest of the white text goes on and stops. Nothing else happens.

Other details:

Any other details that might help with this issue: I do not have a C:\Users\Octocat... folder or a C:\Users\Sunrunner... folder. I installed Nitrox in my larger Data (D:) drive instead because I'm trying to save space in my OS (C:) Drive. Those drives came with the laptop if that helps.

Player.log Player log has been attached (I think). I have little to no experience with these tech computer things, so I'm really hoping there aren't any passwords in it or any info that results in me doxxing myself :P

What the black-background window says: (IP Numbers and passwords removed)

[07:59:12 Server][INFO] Using game files from: D:\Epic Games\Subnautica [07:59:14 Server][ERROR] Could not load world: System.IO.InvalidDataException: Save files are not valid at NitroxServer.Serialization.World.WorldPersistence.LoadFromFile(String saveDir) in C:\Users\Sunrunner\Desktop\Code\Nitrox\NitroxServer\Serialization\World\WorldPersistence.cs:line 114 creating a new one. [07:59:14 Server][INFO] Using PROTOBUF as save file serializer [07:59:15 Server][INFO] Server Password: "None. Public Server." [07:59:15 Server][INFO] Admin Password: (password removed for obvious reasons) [07:59:15 Server][INFO] Autosave: ENABLED (2 min) [07:59:15 Server][INFO] World GameMode: SURVIVAL [07:59:15 Server][INFO] Loaded save

[07:59:15 Server][INFO] Nitrox Server Started [07:59:15 Server][INFO] To get help for commands, run help in console or /help in chatbox

[07:59:15 Server][INFO] If using Hamachi, use this IP: "####:##::####:#### or ##.##.##.###" [07:59:15 Server][INFO] If playing on LAN, use this IP: ##.##.###.## [07:59:15 Server][INFO] If using port forwarding, use this IP: "###.###.##.###" [08:01:15 Server][INFO] World state saved. [08:03:15 Server][INFO] World state saved. [08:05:15 Server][INFO] World state saved. [08:07:15 Server][INFO] World state saved.

Measurity commented 3 years ago

This error is changed to a warn in next release. It just means that the save data is empty. As can also be seen by the save summary: image

You can ignore the error. Just play a bit, then let the server save and it won't print this error again.