Texture sizes are 10x bigger in iOS builds from 6000.0.24f1 vs 2023.2.20f1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- mobile-dev, performance
Direzione di ricerca
Inizia con MemoryRepro.zip, il modello DamagedHelmet.glb e il UnityGLTF importer, quindi riproduci le build iOS in Unity 2023.2.20f1 e 6000.0.24f1 su un Apple Silicon Mac. Acquisisci snapshot di Memory Profiler per entrambe le build e confronta le allocazioni delle texture; il lavoro è completato quando la regressione della dimensione delle texture di quasi 10 volte è stata spiegata e corretta senza influire sul comportamento della build precedente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug 💬
This project exported and ran fine in Unity 2023.2.20f1 on iOS running on an iPad Pro - when I updated it to Unity 6000.0.23f1 and also 6000.0.24f1, I noticed the allocated size of textures in the build in the memory profiler are nearly 10x the size of the textures in the build from Unity 2023.2.20f1.
I have cross checked this doesn't happen with textures linked to obj, dae or fbx files imported into Unity and this only is happening with .glb files.
I have a small repro project here using the DamagedHelmet.glb example file from the Khronos GLTF sample models repo where I opened it in Unity 2023.2.20f1, built to test then opened it in Unity 6000.0.24f1 without changing anything built and tested it to cross reference this - See size differences of the DamagedHelmet.glb textures.
Unity 2023.2.20f1
Unity 6000.0.24f1 LTS
Steps to reproduce 🔢
- Download the attached project from the repro files below, open in Unity 2023.2.20f1 as build target iOS on Silicon Mac Editor (not intel)
- On Models > DamagedHelmet, ensure UnityGLTF is the importer for the model
- Build and run it on iOS to a device like an ipad Pro as development build with auto link profiler on
- In Memory Profiler, grab a memory snapshot of the running build
- Repeat the steps above with Unity 6000.0.24f1 as build target iOS on Silicon Mac Editor (not intel)
- Compare the memory snapshots
Files to reproduce the issue ♻
Editor Version 🎲
6000.0
Render Pipeline and version
URP 16.0.6
UnityGLTF Version
2.14.0 & 2.14.1 tested
Operating System 👩💻
macOS, iOS
When does this problem happen?
- Editor Import
- Runtime Import
- Editor Export
- Runtime Export
Additional Info 📜
No response
Validations 🩹
- I have searched existing issues: no issue already exist that reports the same problem.
- I follow the Code of Conduct
- I provided a minimal reproducible example, including files when necessary.
- Lingua principale
- C#
- Stelle
- 2.3k
- Fork
- 539
- Merge medio
- 3g 15h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di KhronosGroup/UnityGLTF
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
KhronosGroup/UnityGLTF#911 · 6 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KhronosGroup/UnityGLTF#894 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
KhronosGroup/UnityGLTF#893 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
KhronosGroup/UnityGLTF#890 · 3 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
KhronosGroup/UnityGLTF#889 · 1 commento ·
Tutte le issue di KhronosGroup/UnityGLTF
Issue simili
-
launcher item missingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Realm667/WolfenDoom#1758 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
AI documentation good first issue help wanted
Difficoltà 1/5 1-3 ore Idoneità per principianti 84/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Keboo/SimplyBudget#334 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno