Unity package for FixedMathSharp without the MemoryPack dependency.
This is the recommended variant for Unity Burst AOT scenarios. MemoryPack's Unity
support is centered on IL2CPP through its .NET source-generator path, so the
Lean build is the safer choice when Burst AOT compatibility is the priority.
Add this package from Git URL in Unity Package Manager:
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp.lean
- You are using Unity Burst AOT.
- You want the safest default option for Burst-oriented projects.
- You do not want
MemoryPackincluded. - You prefer to bring your own serialization solution.
- You want the standard package with built-in
MemoryPacksupport. - Your project depends on the package's
MemoryPackserialization path.
- Deterministic fixed-point math via
Fixed64 - Vectors, quaternions, matrices, and bounds
- Unity transform, matrix, and bounds interop helpers
- Editor debugging helpers
- Sample demo scene
- No
MemoryPackdependency
FixedMathSharp's canonical 3D basis is +X right, +Y up, and +Z forward.
Unity uses the same semantic basis for Vector3.right, Vector3.up, and
Vector3.forward, so vector and quaternion adapters use direct component mappings.
Matrix and Transform helpers are semantic conversions. Unity's Matrix4x4 and
Transform APIs use Unity's storage and application rules, while FixedMathSharp
uses row-vector matrices with translation in M41/M42/M43.
- Repo overview and variant selection: FixedMathSharp-Unity
- Standard variant:
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp