Quest: free memory drops with every save load

Aperta
#489 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
49/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, csharp, unity

Direzione di ricerca

Reproduce on a Quest 3 release build by loading the same Khorinis save several times and watching Free= with adb logcat -s VrApi. The issue suggests using a development build with the Unity Memory Profiler to compare snapshots before and after a load. Done means confirming whether memory keeps dropping and identifying what remains retained; the issue does not name code files or tests.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Description

On the Quest 3, free system memory drops with every save load and doesn't come back. Possibly the previous world's objects or textures aren't released.

Expected Behavior

Free memory after a save load is about the same as after the first load.

Actual Behavior

G2 at 120 Hz, Khorinis: free memory (Free= in adb logcat -s VrApi) fell from about 1.4 GB to 0.9 GB over two save loads (6.8 s and 7.1 s loads, two minutes apart) and stayed there. A few more loads could get the app killed.

Reproduction Steps
  1. Quest build, G2, load a save in Khorinis.
  2. Load the same save 3-4 times in a row.
  3. Watch Free= in adb logcat -s VrApi after each load.

Environment Information

  • Reproducibility: Seen once (two loads); needs a check
  • Platform: Quest 3 (release build, IL2CPP)
  • Game Version: main 83a1aebd2 + local integration branch
Notes

To find what stays: a development build with the Unity Memory Profiler, comparing snapshots before and after a load.
Not checked against BoroBongo's work.

Lingua principale
C#
Stelle
33
Fork
1
Merge medio
1g 17h
PR unite (30g)
51

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Gothic-Unity-Project/Gothic-Unity

Tutte le issue di Gothic-Unity-Project/Gothic-Unity

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.