Migrating to 2026 January

Introduction

This page discusses breaking changes and other considerations when migrating from 2025 December to 2026 January .

Upgrading Runtime

Upgrade your Gum NuGet packages to version 2026.1.3.1. For more information, see the NuGet packages for your particular platform:

If using GumCommon directly, you can update the GumCommon NuGet:

If using the Apos.Shapes library, update the library for your target platform:

For other platforms you need to build Gum from source

See below for breaking changes and updates.

[Breaking] Changed GraphicalUiElement.Parent Type

Previous versions of GraphicalUiElement (base class for all Visuals) included the Parent property of type IPositionedSizedObject. This has been replaced with a Parent property of type GraphicalUiElement. All Parents were of type GraphicalUiElement already, so this change makes it easier to work with parents, avoiding the need to cast.

This is now a GraphicalUiElement:

This change results in X, Y, Width, and Height values being reported considering the object's pixel values.

This may result in code breaking if the code depended on X, Y, Width, and Height being reported in pixel values.

The following code shows a breaking change:

The old functionality can be preserved, but the calls must be explicit.

Alternatively, the parent can also be casted to IPositionedSizedObject to get the same behavior as before:

ContainerRuntime Alpha is now int instead of float

Previous versions of Gum runtime included a ContainerRuntime which has an Alpha value that was float. This caused confusion because the base class for ContainerRuntime also had an Alpha value of type int. The float version has been removed, so now only the int type remains.

Last updated

Was this helpful?