Skip to content
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

Large scene size on making material unique #31632

Closed
epuscasu opened this issue Aug 24, 2019 · 2 comments
Closed

Large scene size on making material unique #31632

epuscasu opened this issue Aug 24, 2019 · 2 comments

Comments

@epuscasu
Copy link

epuscasu commented Aug 24, 2019

Godot version:
3.1.1

Issue description:
Loading a .gltf file (exported by blender) and saving it as a scene after making its material unique results in huge file size (~200MB compared to .gltf's 7MB size). Scene saved without unique material is under 200KB. This leads to huge load time increase.

Not sure if this is intended behavior, the size increase just seems odd.

Steps to reproduce:
Load gltf file, make material unique, save scene.

Minimal reproduction project:
Not project, but the blender file to be loaded/exported as gltf and saved as scene (part of this tutorial - https://www.youtube.com/watch?v=XMfiojwtuKo):

http://bit.ly/godot3-5blend

@KoBeWi
Copy link
Member

KoBeWi commented Sep 15, 2020

Can anyone still reproduce this bug in Godot 3.2.3 rc6 or any later release?

If yes, please ensure that an up-to-date Minimal Reproduction Project (MRP) is included in this report (a MRP is a zipped Godot project with the minimal elements necessary to reliably trigger the bug). You can upload ZIP files in an issue comment with a drag and drop.

@capnm
Copy link
Contributor

capnm commented Sep 16, 2020

Can anyone still reproduce this bug in Godot 3.2.3 rc6 or any later release?

No, although the linked Blender-Project state is not suitable for export for a game, the size of the Godot's material file is around 27 MB. I think you can close the issue.

├── [ 18M] block.blend
├── [ 18M] block.glb
├── [ 31K] block.glb.import
├── [ 27K] Cube.mesh
└── [ 26M] material-block.material

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants