Tested with: KSA Version 2026.10.19.5638
What changed for code mods between 2026.8.5.5168 and 2026.10.19.5638, found by comparing the decompiled KSA.dll of both builds. It covers what is most likely to break a mod or be useful to one, not every internal change.
If your mod stopped building or started throwing MissingMethodException, start at the top.
| Old file | New file |
|---|---|
Brutal.Core.Numerics.dll |
Brutal.Numerics.dll |
Brutal.Core.Common.dll |
Brutal.Core.dll |
Brutal.Core.Logging.dll |
Brutal.Logging.dll |
Brutal.Core.Maths.dll |
Brutal.Maths.dll |
Brutal.Core.Memory.dll |
Brutal.Memory.dll |
Brutal.Core.Strings.dll |
Brutal.Strings.dll |
Brutal.Core.Collections.dll |
Brutal.Collections.dll |
Brutal.Core.Package.dll |
removed |
Namespaces did not change, so only your project's references need updating, not your using lines.
ImGuiHelper drawing functions need a draw listEvery ImGuiHelper function that draws shapes or free text now takes an ImDrawListPtr as its first argument, so the caller chooses which layer it draws on. The old overloads are gone:
| Old | New |
|---|---|
DrawLine(start, end, color, …) |
DrawLine(drawList, start, end, color, …) |
DrawCircle(center, radius, color, …) |
DrawCircle(drawList, center, radius, color, …) |
DrawPolyline(points, color, …) |
DrawPolyline(drawList, points, color, …) |
DrawWireBox(corners, color, …) |
DrawWireBox(drawList, corners, color, …) |
DrawOutlinedLine(start, end, …) |
DrawOutlinedLine(drawList, start, end, …) |
DrawArrowBackground(start, end, color, …) |
DrawArrowBackground(drawList, start, end, color, …) |
DrawText(position, text, color, alignment, …) |
DrawText(drawList, position, text, color, alignment, …) |
DrawTextOnScreen(position, text, color) |
DrawTextOnScreen(drawList, position, text, color) |
To get the same result as before, which drew over the whole screen, pass ImGuiHelper.GetMainOverlayDrawList().
ImGuiHelper.GetOverlayDrawList(viewport) gives the overlay for one viewport.
Widgets inside a window (DrawButton, DrawCombo, DrawTooltip, DrawTextInWindow and so on) are unchanged.
Input takes the whole key eventInput.Matches(GlfwKey, GlfwModifier, InputAction) and Input.Contains(GlfwKey, GlfwModifier, InputAction) are gone. Use the versions that take the event:
Input.Matches(in keyEvent, InputAction.ToggleLights)
Input.MatchPressed(in keyEvent, InputAction.ToggleLights) // new: only on the press
Input.MatchReleased(in keyEvent, InputAction.ToggleLights) // new: only on the release
Bindings can now be mouse buttons as well as keys. Input.BindingOf(action) returns the Binding, and Input.ValueOf(action) returns a BindingValue that is either a KeyBindingValue or a MouseButtonBindingValue. See Keyboard Input.
BiDirectionalGraph was rewrittenAddEntry and GetNodeEdges are gone. Use AddNode, AddEdge, and Edges(node), which returns an allocation-free enumerator instead of a List. Graphs are now pooled: get one with
BiDirectionalGraph<TKey, TEntry>.Take() and give it back with Release.
KeyHash moved from KSA.dll to Planet.Render.Core.dll, still in the KSA namespace. Reference both.DecouplerTemplate is gone. Decoupler is now only a module (see Parts).SimTime and SimTimeReference are gone.Font Size and ScreenSpaceParticles settings were removed.UncompressedSave.Write() returns bool instead of void, and UncompressedSave.Make() can return null. Your UniverseData.WriteTo postfix now runs inside a try/catch, so an exception in it shows the player a "could not be written" message instead of crashing. SeeSoundReference.Play returns IChannel?. Check for null before using the channel.PhysicsBubbles that are solved in parallel, up to 30 vehicles per bubble. VehicleUpdateTask orchestrates them. Patches on vehicle update code should not assume vehicles update one after another on one thread.Part.CrashTolerancePascals: the contact pressure at which the part breaks, from its CrashTolerance attribute or derived from its density.Part.BoundingBoxVolumeCubicMetres: the volume of the part's bounding box.part.Modules.Get<T>(): Parachute, ParachuteDeploy, ParachuteCut, GrabRail, MagneticScoop, plus the engine cores ThermalCore and AntimatterRamCore. See Parachutes and Interstellar Engines.Radiation.ComputeDoseRate(parent, positionCci, positionEcl) returns the dose rate in sieverts per second at a position. See Magnetospheres.ExplosionSystem.RouteExplosionId(cause, propellantMassKg) tells you which explosion the game would play. See Explosions.Universe.Stars lists every star in the system. See