app.hypergames.hypersdk 1.3.1 → 1.3.3
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,17 @@
|
|
|
1
|
+
## [1.3.3](https://github.com/mvmhyper/hyper-sdk/compare/v1.3.2...v1.3.3) (2025-11-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* trigger release for package updates ([f3acb72](https://github.com/mvmhyper/hyper-sdk/commit/f3acb7285fbdd2f7897af2cc0987c2f9ffd802f2))
|
|
7
|
+
|
|
8
|
+
## [1.3.2](https://github.com/mvmhyper/hyper-sdk/compare/v1.3.1...v1.3.2) (2025-11-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Build Assistant uses Assets HyperLoader path, removes Packages/ entries ([a9a93ef](https://github.com/mvmhyper/hyper-sdk/commit/a9a93effe91dafed8f5646fdf3a9d848cf49acd4))
|
|
14
|
+
|
|
1
15
|
## [1.3.1](https://github.com/mvmhyper/hyper-sdk/compare/v1.3.0...v1.3.1) (2025-11-26)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1445,15 +1445,23 @@ namespace Hyper.Editor
|
|
|
1445
1445
|
return false;
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
+
// Ensure we're using the Assets path, not Packages path
|
|
1449
|
+
// Remove any existing HyperLoader scenes from build index (including Packages/ ones)
|
|
1450
|
+
var scenes = new List<EditorBuildSettingsScene>(EditorBuildSettings.scenes);
|
|
1451
|
+
scenes.RemoveAll(s =>
|
|
1452
|
+
string.Equals(s.path, scenePath, StringComparison.OrdinalIgnoreCase) ||
|
|
1453
|
+
(s.path.Contains("HyperLoader.unity") && !s.path.StartsWith("Assets/", StringComparison.OrdinalIgnoreCase))
|
|
1454
|
+
);
|
|
1455
|
+
|
|
1456
|
+
// Check if the Assets path exists
|
|
1448
1457
|
if (!File.Exists(scenePath))
|
|
1449
1458
|
{
|
|
1450
|
-
errorMessage = $"Scene not found at path: {scenePath}"
|
|
1459
|
+
errorMessage = $"Scene not found at path: {scenePath}\n\n" +
|
|
1460
|
+
"The HyperLoader scene should be installed in Assets/HyperSDK/ by the SDK installer.\n" +
|
|
1461
|
+
"If you're using UPM, ensure the SDK has finished installing.";
|
|
1451
1462
|
return false;
|
|
1452
1463
|
}
|
|
1453
1464
|
|
|
1454
|
-
var scenes = new List<EditorBuildSettingsScene>(EditorBuildSettings.scenes);
|
|
1455
|
-
scenes.RemoveAll(s => string.Equals(s.path, scenePath, StringComparison.OrdinalIgnoreCase));
|
|
1456
|
-
|
|
1457
1465
|
targetIndex = Mathf.Clamp(targetIndex, 0, scenes.Count);
|
|
1458
1466
|
|
|
1459
1467
|
var newScene = new EditorBuildSettingsScene(scenePath, true);
|
package/HyperLoader.unity
CHANGED
|
@@ -305,7 +305,7 @@ RectTransform:
|
|
|
305
305
|
m_AnchorMin: {x: 0, y: 1}
|
|
306
306
|
m_AnchorMax: {x: 0, y: 1}
|
|
307
307
|
m_AnchoredPosition: {x: 489.20746, y: -280.1698}
|
|
308
|
-
m_SizeDelta: {x:
|
|
308
|
+
m_SizeDelta: {x: 1044.9, y: 239.347}
|
|
309
309
|
m_Pivot: {x: 0.5, y: 0.5}
|
|
310
310
|
--- !u!114 &751153944
|
|
311
311
|
MonoBehaviour:
|
|
@@ -1052,7 +1052,7 @@ GameObject:
|
|
|
1052
1052
|
m_Component:
|
|
1053
1053
|
- component: {fileID: 6223682341740473317}
|
|
1054
1054
|
m_Layer: 0
|
|
1055
|
-
m_Name:
|
|
1055
|
+
m_Name: ======= ATTACH YOUR SINGLETONS BELOW ========================================================================================================================================================
|
|
1056
1056
|
m_TagString: Untagged
|
|
1057
1057
|
m_Icon: {fileID: 0}
|
|
1058
1058
|
m_NavMeshLayer: 0
|
|
@@ -46,11 +46,6 @@ namespace Hyper.Internal
|
|
|
46
46
|
|
|
47
47
|
private void Awake()
|
|
48
48
|
{
|
|
49
|
-
// Entering a freshly loaded HyperLoader scene always ends any previous
|
|
50
|
-
// soft-restart window. From this point onward, teardown code should treat
|
|
51
|
-
// object destruction as part of a normal lifecycle again.
|
|
52
|
-
HyperRuntime.IsSoftRestarting = false;
|
|
53
|
-
|
|
54
49
|
HyperRuntime.Clear();
|
|
55
50
|
|
|
56
51
|
InitializeComponents();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "app.hypergames.hypersdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
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",
|