Open
Description
Nautilus can not save or load config with techtypes when using certain mods
Steps to reproduce the bug with BZ
- Create a new project with this configFile
public class Config : ConfigFile
{
public HashSet<TechType> hashSet = new HashSet<TechType> { TechType.Aerogel, TechType.ArcticPeeper };
}
- Register the config with
public static Config config { get; } = OptionsPanelHandler.RegisterModOptions<Config>();
- Compile the project and copy dll to SubnauticaZero\BepInEx\plugins
- Install any one of these mods:
More modified Items
Replenish ReactorRods
Seatruck Armor Upgrades
Seatruck Thermal And Solar
SnowFox Perimeter Defense
BaseLightSwitch - Start the game with Nautilus BZ 1.0.0-pre.33
- Your config will not be saved when main menu loads because Nautilus throws "NullReferenceException: Object reference not set to an instance of an object at Newtonsoft.Json.Utilities.EnumUtils.InitializeValuesAndNames"