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

[Bug] Built Assets include unused materials #5

Open
KnatteAnka opened this issue Jul 4, 2024 · 0 comments
Open

[Bug] Built Assets include unused materials #5

KnatteAnka opened this issue Jul 4, 2024 · 0 comments

Comments

@KnatteAnka
Copy link

KnatteAnka commented Jul 4, 2024

Test 1:

Import Levee and build the mod.
image
Built mod is 12 KB

Test 2:

Add custom TimberMesh model.
And Declared the model
Built mod is now 5.419 MB
image

image

Test 3:

Remove Declaration of model
But Timbermesh still in Asset bundle but unused

Built mod is still 5.419 MB

TestMod.zip

Expected result:

Build a Small Asset bundle without any materials or textures because it should use base game items

Change compared to Base game example:

Using Exported materials to get base game textures in unity not just place holders with colors.

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

No branches or pull requests

1 participant