-
Notifications
You must be signed in to change notification settings - Fork 492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Texture sizes are 10x bigger in iOS builds from 6000.0.24f1 vs 2023.2.20f1 #795
Comments
Thanks for the detailled information! Just to be clear, is this the bug you also sent to Unity about this change of behaviour? Could you reference the issue number here? |
It is the same issue I sent to Unity although I sent them a larger bug repro project than the one linked here, I will follow up my bug report with the same zip linked here if required. The Unity issue is |
I haven't managed to reproduce this on Windows build platform target so I would assume this is specific to iOS for now. |
Still happens in Unity 6000.0.27f1 on iOS, the bug report with Unity at IN-87705 is still under review as well but Unity support has been especially slow for me the past 5 months so far so I'm not holding out hope of a response from them. |
I have good news, Unity have acknowledged this bug today and it has been tasked by them internally. I'll close this bug report when they have fixed it. Your bug report Texture2D memory allocation size is significantly increased when running on iOS device has been confirmed and transferred to the appropriate internal development team at Unity. Your bug report has the following internal ID: UUM-88991 Public issue tracker link: |
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 🔢
Files to reproduce the issue ♻
MemoryRepro.zip
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?
Additional Info 📜
No response
Validations 🩹
The text was updated successfully, but these errors were encountered: