Texture sizes are 10x bigger in iOS builds from 6000.0.24f1 vs 2023.2.20f1
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- mobile-dev, performance
Línea de trabajo
Empieza con MemoryRepro.zip, el modelo DamagedHelmet.glb y el UnityGLTF importer; después, reproduce las compilaciones de iOS en Unity 2023.2.20f1 y 6000.0.24f1 en un Apple Silicon Mac. Captura instantáneas de Memory Profiler para ambas compilaciones y compara las asignaciones de texturas; se considera terminado cuando se haya explicado y corregido la regresión del tamaño de las texturas de casi 10 veces sin afectar al comportamiento de la compilación anterior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- C#
- Estrellas
- 2.3k
- Forks
- 539
- Merge medio
- 3 d 15 h
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de KhronosGroup/UnityGLTF
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
KhronosGroup/UnityGLTF#911 · 6 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
KhronosGroup/UnityGLTF#894 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
KhronosGroup/UnityGLTF#893 · 1 comentario ·
-
Vertex reordering after importAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
KhronosGroup/UnityGLTF#890 · 3 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
KhronosGroup/UnityGLTF#889 · 1 comentario ·
Todos los issues de KhronosGroup/UnityGLTF
Issues similares
-
launcher item missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Realm667/WolfenDoom#1758 ·
-
SDK version compatibility issueAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
AI documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Keboo/SimplyBudget#334 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día