aetherESDownload

Known traps

Things that have already cost time. Check them if something odd happens.

  • The game closes at startup with no message. A mod is probably in BepInEx/plugins. There, some mods do things too early and the game fails. Put them in Aether/Mods, where Aether starts them at the right moment.
  • Your mod fails at start. If you use Awake or Start to touch game objects, do it from OnInitializeClient instead.
  • The game closes silently while drawing your UI. An error inside OnGUI can close the game. Wrap the drawing in try/catch and log only the error’s type and message.
  • Block data from faraway areas. Do not read blocks without making sure the terrain is loaded (use SafeVoxels).
  • A failure is not always your mod’s fault. Some unexpected closes come from the game itself. They are recorded so they are not mistaken for yours.