Standard Unity package for FixedMathSharp with MemoryPack support enabled.
Use this variant when you want the Unity integration plus the built-in MemoryPack
serialization path. If you are targeting Unity Burst AOT and want the safer option,
use the Lean package instead.
Add this package from Git URL in Unity Package Manager:
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp
- You want the standard FixedMathSharp-Unity package.
- You want the package's
MemoryPack-based serialization support. - You are not optimizing specifically for Burst AOT compatibility.
- You are using Unity Burst AOT.
- You want to avoid the
MemoryPackdependency entirely. - You plan to use your own serialization layer.
- Deterministic fixed-point math via
Fixed64 - Vectors, quaternions, matrices, and bounds
- Unity transform, matrix, and bounds interop helpers
- Editor debugging helpers
- Sample demo scene
MemoryPacksupport
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
- No-MemoryPack variant:
https://github.com/mrdav30/FixedMathSharp-Unity.git?path=/com.mrdav30.fixedmathsharp.lean