Gothic.ini: a new VR key lands at the end of the file and is never read back
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先阅读 GothicIniWriter.WriteSetting,并跟踪当节存在但键不存在时它的处理方式。使用 VR 节不是最后一节的 Gothic.ini 重现问题,然后更改设置并重启。完成的标准是新键写入其所属的节中,并在下次启动时被找到,而不是反复追加到末尾。
由索引模型根据 Issue 内容生成。
描述
Description
GothicIniWriter.WriteSetting: when the section is found but the key isn't, lines.Add appends the key at the end of the file, so it lands in the last section. The next write doesn't find it in its own section and appends it again.
Expected Behavior
A new key is written inside its own section and found again on the next start.
Actual Behavior
Seen on Quest 3, G2: six snapRotationAmount= lines under [ZBUGFIXES] (the last section, written by Spine). The snap rotation setting is back to the default on every start.
Reproduction Steps
- Use a Gothic.ini whose VR section exists but lacks the key (e.g.
snapRotationAmount), and where that section isn't the last one. - Change the setting in the menu a few times and restart.
- The key is appended at the end of the file again each time, and the setting is lost.
Environment Information
- Reproducibility: Always (for keys missing from an existing, non-last section)
- Platform: all
- Game Version: main 83a1aebd2
Notes
BoroBongo has a fix: WriteSettingInSection behind DeveloperConfig.EnableIniWriteInSection in experimental/game-completion-candidate-vibecoded-borobongo. It's in no split yet, and his comment describes the same bug ("marvinPanel 20 times").
- 主要语言
- C#
- 星标
- 33
- 派生
- 1
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 51
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Gothic-Unity-Project/Gothic-Unity 的其他 Issue
-
bug
难度 4/5 3-5 天 新手友好度 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 55/100
Gothic-Unity-Project/Gothic-Unity#486 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 48/100
Gothic-Unity-Project/Gothic-Unity#485 ·
维护者通常 1 天内回复
-
XRIT - Items in slots get HVR's size (no more flying with a coin on the hip)可能已有人在做 @JaXt0r 于 8 天前认领。 未关闭bug
Gothic-Unity-Project/Gothic-Unity#446 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 Gothic-Unity-Project/Gothic-Unity 的全部 Issue
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 78/100
QuantConnect/Documentation#2838 ·
维护者通常 1 天内回复
-
"Create your app": .sln/.slnx step and Solution Explorer instructions don't match current C# Dev Kit未关闭area-tutorials needs-triage
难度 1/5 1-3 小时 新手友好度 72/100
dotnet/website-feedback#1844 ·
-
Needs: Attention :wave: v5 v5-preview5
难度 2/5 1-3 小时 新手友好度 62/100
Azure/azure-functions-core-tools#5852 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
OrchardCMS/OrchardCore#20194 ·
维护者通常 1 天内回复
-
VB -> C#
难度 2/5 1-3 小时 新手友好度 72/100
icsharpcode/CodeConverter#1301 ·
维护者通常 3 天内回复