Skip to content

FixedMathSharp-Unity v5.0.1

Choose a tag to compare

@mrdav30 mrdav30 released this 16 Jun 03:05
· 9 commits to main since this release

Fixed64 Unity Serialization Fix

Fixed Unity persistence for Fixed64-backed authoring fields.

Unity does not serialize readonly fields, so Fixed64 values backed by a readonly long could be edited in the inspector but reload as zero from assets or prefabs. Fixed64 now uses a Unity-compatible raw-value field layout while remaining engine-agnostic and wrapper-free.

Verified

  • Fixed64 persists through ScriptableObject assets and prefabs.
  • Vector2d and Vector3d persist correctly.
  • Nested structs containing Fixed64 persist correctly.
  • List<T> elements containing Fixed64 and Vector3d persist correctly.
  • Existing fixed-point behavior and raw-value representation are unchanged.