Skip to content

Commit 7193761

Browse files
fix(core): bump Nino to fix Dictionary serialization in HybridCLR (#627)
* fix(core): bump Nino to 4.0.0-preview.147 to fix Dictionary serialization in HybridCLR Nino's generated Dictionary serializer used `Unsafe.As<Dictionary, DictionaryView>` to access internal `_entries`, which throws `ArrayTypeMismatchException` under HybridCLR's interpreter due to strict `ldelema` type checking. Fixes #621 Ref: JasonXuDeveloper/Nino#172 Signed-off-by: JasonXuDeveloper <jason@xgamedev.net> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net> * fix(core): align Nino version in core package.json and lockfile Update the JEngine.Core package dependency and its lockfile entry from 4.0.0-preview.137 to 4.0.0-preview.147 to match the project manifest, ensuring downstream consumers get the HybridCLR fix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net> --------- Signed-off-by: JasonXuDeveloper <jason@xgamedev.net> Signed-off-by: JasonXuDeveloper - 傑 <jason@xgamedev.net> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 24052ca commit 7193761

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

UnityProject/Packages/com.jasonxudeveloper.jengine.core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
},
2424
"dependencies": {
2525
"com.cysharp.unitask": "2.5.10",
26-
"com.jasonxudeveloper.nino": "4.0.0-preview.137",
26+
"com.jasonxudeveloper.nino": "4.0.0-preview.147",
2727
"com.tuyoogame.yooasset": "2.3.16"
2828
}
2929
}

UnityProject/Packages/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"com.code-philosophy.obfuz": "https://github.com/focus-creative-games/obfuz.git",
44
"com.code-philosophy.obfuz4hybridclr": "https://github.com/focus-creative-games/obfuz4hybridclr.git",
55
"com.cysharp.unitask": "2.5.10",
6-
"com.jasonxudeveloper.nino": "4.0.0-preview.143",
6+
"com.jasonxudeveloper.nino": "4.0.0-preview.147",
77
"com.tuyoogame.yooasset": "2.3.18",
88
"com.unity.2d.sprite": "1.0.0",
99
"com.unity.2d.tilemap": "1.0.0",

UnityProject/Packages/packages-lock.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"source": "embedded",
3434
"dependencies": {
3535
"com.cysharp.unitask": "2.5.10",
36-
"com.jasonxudeveloper.nino": "4.0.0-preview.137",
36+
"com.jasonxudeveloper.nino": "4.0.0-preview.147",
3737
"com.tuyoogame.yooasset": "2.3.16"
3838
}
3939
},
@@ -53,7 +53,7 @@
5353
"dependencies": {}
5454
},
5555
"com.jasonxudeveloper.nino": {
56-
"version": "4.0.0-preview.143",
56+
"version": "4.0.0-preview.147",
5757
"depth": 0,
5858
"source": "registry",
5959
"dependencies": {},

0 commit comments

Comments
 (0)