app.hypergames.hypersdk 1.11.0-beta.3 → 1.11.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [1.11.0-beta.4](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.0-beta.3...v1.11.0-beta.4) (2026-08-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **replay:** align recording with fixed simulation ([ae2b322](https://github.com/mvmhyper/hyper-sdk/commit/ae2b32216a0a9ea125572d788eee3bfd846414b0))
7
+
1
8
  # [1.11.0-beta.3](https://github.com/mvmhyper/hyper-sdk/compare/v1.11.0-beta.2...v1.11.0-beta.3) (2026-08-28)
2
9
 
3
10
 
@@ -33,6 +33,7 @@ namespace Hyper.Internal
33
33
  private static EventManager _eventManager;
34
34
  private static TimerManager _timerManager;
35
35
  private static ReplayManager _replayManager;
36
+ private static double _fixedSimulationTimeSeconds;
36
37
 
37
38
  internal static bool IsInitialized => _isInitialized;
38
39
  internal static bool IsSoftRestarting
@@ -59,6 +60,7 @@ namespace Hyper.Internal
59
60
  internal static EventManager EventManager => _eventManager;
60
61
  internal static TimerManager Timer => _timerManager;
61
62
  internal static ReplayManager ReplayManager => _replayManager;
63
+ internal static double FixedSimulationTimeSeconds => _fixedSimulationTimeSeconds;
62
64
 
63
65
  internal static event Action CustomLoadingStarted
64
66
  {
@@ -396,6 +398,7 @@ namespace Hyper.Internal
396
398
  internal static void FixedTick()
397
399
  {
398
400
  if (!_isInitialized) return;
401
+ _fixedSimulationTimeSeconds += Time.fixedDeltaTime;
399
402
  _replayManager?.FixedTick();
400
403
  _timerManager?.FixedTick();
401
404
  }
@@ -489,6 +492,7 @@ namespace Hyper.Internal
489
492
  _customLoadingActive = false;
490
493
  _customLoadingProgress = 0f;
491
494
  _replayRandomResetPending = false;
495
+ _fixedSimulationTimeSeconds = 0d;
492
496
  }
493
497
  }
494
498
  }
@@ -462,7 +462,7 @@ namespace Hyper.Internal.Managers
462
462
 
463
463
  private static double GetSimulationTimeSeconds()
464
464
  {
465
- return Time.fixedTimeAsDouble;
465
+ return HyperRuntime.FixedSimulationTimeSeconds;
466
466
  }
467
467
 
468
468
  private ScoreData GetPooledScoreData()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "app.hypergames.hypersdk",
3
- "version": "1.11.0-beta.3",
3
+ "version": "1.11.0-beta.4",
4
4
  "displayName": "HyperSDK",
5
5
  "description": "Official Unity SDK for Hyper: multiplayer battles, leaderboards, deterministic RNG, session management, tutorials, and WebGL optimizations for production-ready games.",
6
6
  "unity": "6000.0",