Skip to content

[Bug] STS2-RitsuLib is blocked by Windows 11 #93

Description

@Lingygao

模块范围

Public API(公开 API)

严重程度

Broken feature(功能不可用)

发生了什么?

加载 STS2-RitsuLib 时,模组加载器出现以下错误:

System.IO.FileLoadException: Could not load file or assembly
'...\Steam\steamapps\workshop\content\2868840\3747602295\STS2-RitsuLib.dll'.

应用程序控制策略已阻止此文件。 (0x800711C7)

Windows 的“代码完整性”日志中还记录了事件 ID 3077:

Code Integrity determined that SlayTheSpire2.exe attempted to load
STS2-RitsuLib.dll, but the DLL did not meet the Enterprise signing level
requirements or violated code integrity policy.

Policy ID: {0283ac0f-fff1-49ae-ada1-8a933130cad6}

运行环境:

Windows 11
已开启“智能应用控制”
使用 Steam 创意工坊版本的 STS2-RitsuLib
创意工坊项目 ID:3747602295

我已经尝试取消订阅并重新下载模组,但问题仍然存在。该 DLL 的文件属性中也没有“解除锁定”选项。请问这是已知问题吗?后续可以兼容 Windows 智能应用控制的版本吗?

复现步骤

1.通过 Steam 创意工坊订阅并安装 STS2-RitsuLib。
2.启动《杀戮尖塔 2》并进入模组加载流程。
3.右下角显示加载0个模组出现错误。
4.日志显示
System.IO.FileLoadException:
Could not load file or assembly
'...\Steam\steamapps\workshop\content\2868840\3747602295\STS2-RitsuLib.dll'.
应用程序控制策略已阻止此文件。 (0x800711C7)
5. 打开 Windows“事件查看器”,
可以看到对应的事件 ID 3077,提示
Id : 3077
Message : Code Integrity determined that a process (\Device\HarddiskVolume3\Program Files (x86)\Steam\steamapps\com
mon\Slay the Spire 2\SlayTheSpire2.exe) attempted to load \Device\HarddiskVolume3\Program Files (x86)\Ste
am\steamapps\workshop\content\2868840\3747602295\STS2-RitsuLib.dll that did not meet the Enterprise signi
ng level requirements or violated code integrity policy (Policy ID:{0283ac0f-fff1-49ae-ada1-8a933130cad6}
).

期望行为

No response

日志 / 堆栈

RitsuLib 版本

No response

运行环境

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/otherArea is unclear or does not fit existing categories.duplicateDuplicates an existing issue or pull request.invalidNot actionable, not reproducible, or outside project scope.priority/p3Low priority or backlog.status/blockedBlocked by missing dependency, upstream issue, or decision.wontfixAccepted as not planned for this project.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions