Gothic.ini: a new VR key lands at the end of the file and is never read back
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 69/100
Direção de pesquisa
Comece lendo GothicIniWriter.WriteSetting e acompanhe o que ele faz quando a seção existe, mas a chave não. Reproduza o problema com um Gothic.ini em que a seção VR não seja a última; depois, altere a configuração e reinicie. O trabalho estará concluído quando a nova chave for gravada em sua própria seção e encontrada na próxima inicialização, em vez de ser anexada repetidamente ao final.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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").
- Linguagem predominante
- C#
- Estrelas
- 33
- Forks
- 1
- Merge médio
- 1d 21h
- PRs com merge (30d)
- 56
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de Gothic-Unity-Project/Gothic-Unity
-
bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 57/100
Gothic-Unity-Project/Gothic-Unity#494 ·
Mantenedores costumam responder em até 2 dias
-
improvement
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 35/100
Gothic-Unity-Project/Gothic-Unity#492 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 49/100
Gothic-Unity-Project/Gothic-Unity#489 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
Gothic-Unity-Project/Gothic-Unity#488 ·
Mantenedores costumam responder em até 2 dias
-
bug
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
Gothic-Unity-Project/Gothic-Unity#486 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de Gothic-Unity-Project/Gothic-Unity
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 80/100
Unity-Technologies/unity-agent-plugin#118 ·
Mantenedores costumam responder em até 1 dia
-
The Recommended preset turns on Import Uno DSP, which only works with the Material themeTalvez já em andamento @agneszitte assumiu hoje. Aberta
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 92/100
unoplatform/uno.templates#2388 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 77/100
eyalgolan/statecraft-israel#2732 ·
Mantenedores costumam responder em até 1 dia
-
変換の候補のどれが Zenzai の答えか分からないAberta要トリアージ
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
Mantenedores costumam responder em até 1 dia
-
kind/chore status/draft
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 65/100
Altinn/altinn-events#1158 ·
Mantenedores costumam responder em até 1 dia