Fix Unity-compatible obfuscated DLL release v0.1.5

This commit is contained in:
su 2026-08-18 17:03:27 +08:00
parent 2b86517a70
commit d5244a654f
6 changed files with 13 additions and 7 deletions

View File

@ -1,5 +1,11 @@
# Changelog # Changelog
## 0.1.5
- Fixed Unity 2021 compatibility for the obfuscated Runtime and Editor DLLs by removing invalid `System.Private.CoreLib` assembly references introduced during obfuscation.
- Verified that Editor menu entry metadata remains available after the compatibility fix.
- Expanded validation to catch Unity assembly load failures in addition to package resolve and compile errors.
## 0.1.4 ## 0.1.4
- Rebuilt Runtime and Editor DLLs with stricter obfuscation. - Rebuilt Runtime and Editor DLLs with stricter obfuscation.

Binary file not shown.

View File

@ -10,7 +10,7 @@
|---|---| |---|---|
| Package Name | `xin.aisu.si-m1.face` | | Package Name | `xin.aisu.si-m1.face` |
| Display Name | `AISU SI-M1 Face SDK` | | Display Name | `AISU SI-M1 Face SDK` |
| Version | `0.1.4` | | Version | `0.1.5` |
| Runtime Assembly | `Aisu.SIM1.Face.Runtime.dll` | | Runtime Assembly | `Aisu.SIM1.Face.Runtime.dll` |
| Editor Assembly | `Aisu.SIM1.Face.Editor.dll` | | Editor Assembly | `Aisu.SIM1.Face.Editor.dll` |
| Unity Version | `2021.3` or newer | | Unity Version | `2021.3` or newer |
@ -21,13 +21,13 @@
Add the package through Unity Package Manager using this Git URL: Add the package through Unity Package Manager using this Git URL:
```text ```text
https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.4 https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.5
``` ```
Or add it to `Packages/manifest.json`: Or add it to `Packages/manifest.json`:
```json ```json
"xin.aisu.si-m1.face": "https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.4" "xin.aisu.si-m1.face": "https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.5"
``` ```
Unity may display Git packages as `xin.aisu.si-m1.face@<commit-hash>` in `Library/PackageCache`. This is expected for Git URL packages; the package version remains defined by `package.json`. Unity may display Git packages as `xin.aisu.si-m1.face@<commit-hash>` in `Library/PackageCache`. This is expected for Git URL packages; the package version remains defined by `package.json`.

View File

@ -10,7 +10,7 @@ English documentation: [README.md](README.md).
|---|---| |---|---|
| Package Name | `xin.aisu.si-m1.face` | | Package Name | `xin.aisu.si-m1.face` |
| Display Name | `AISU SI-M1 Face SDK` | | Display Name | `AISU SI-M1 Face SDK` |
| Version | `0.1.4` | | Version | `0.1.5` |
| Runtime Assembly | `Aisu.SIM1.Face.Runtime.dll` | | Runtime Assembly | `Aisu.SIM1.Face.Runtime.dll` |
| Editor Assembly | `Aisu.SIM1.Face.Editor.dll` | | Editor Assembly | `Aisu.SIM1.Face.Editor.dll` |
| Unity Version | `2021.3` 或更高 | | Unity Version | `2021.3` 或更高 |
@ -21,13 +21,13 @@ English documentation: [README.md](README.md).
在 Unity Package Manager 中使用以下 Git URL 导入: 在 Unity Package Manager 中使用以下 Git URL 导入:
```text ```text
https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.4 https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.5
``` ```
或写入 `Packages/manifest.json` 或写入 `Packages/manifest.json`
```json ```json
"xin.aisu.si-m1.face": "https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.4" "xin.aisu.si-m1.face": "https://git.aisu.xin/aisu-sdk/si-m1-face-package.git#v0.1.5"
``` ```
Unity 对 Git URL 包可能会在 `Library/PackageCache` 中显示为 `xin.aisu.si-m1.face@<commit-hash>`。这是 Git 包的正常行为;包版本仍由 `package.json` 中的 `version` 字段定义。 Unity 对 Git URL 包可能会在 `Library/PackageCache` 中显示为 `xin.aisu.si-m1.face@<commit-hash>`。这是 Git 包的正常行为;包版本仍由 `package.json` 中的 `version` 字段定义。

Binary file not shown.

View File

@ -1,7 +1,7 @@
{ {
"name": "xin.aisu.si-m1.face", "name": "xin.aisu.si-m1.face",
"displayName": "AISU SI-M1 Face SDK", "displayName": "AISU SI-M1 Face SDK",
"version": "0.1.4", "version": "0.1.5",
"unity": "2021.3", "unity": "2021.3",
"description": "Unity UPM package for the AISU SI-M1 face recognition module protocol, transport, command services, and lifecycle manager. Distributed as compiled DLLs without source code.", "description": "Unity UPM package for the AISU SI-M1 face recognition module protocol, transport, command services, and lifecycle manager. Distributed as compiled DLLs without source code.",
"author": { "author": {