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

Mesh with multiple materials broken #11

Open
Forux opened this issue Jul 12, 2022 · 2 comments
Open

Mesh with multiple materials broken #11

Forux opened this issue Jul 12, 2022 · 2 comments

Comments

@Forux
Copy link

Forux commented Jul 12, 2022

Hi, it looks like only meshes with single material supported. Multy material meshes become broken

@Forux Forux changed the title Mush with multiple materials broken Mrsh with multiple materials broken Jul 12, 2022
@Forux Forux changed the title Mrsh with multiple materials broken Mesh with multiple materials broken Jul 12, 2022
@leopthurler
Copy link

Hello,

We are facing the same problem here. If I try generate multiples models for one quad, the generated models don't recognize the uv positions.

Any ETA to fix this problem?

@RadioFoxProductions
Copy link

Heya, so i'm not sure how to fix the actual script, but i figured out what's actually happening. at some point during generation, the setup fails to generate the new UV's when it gets to the moving part of the process, it scales them just fine, but once it tries to move the UV's, it completely breaks down, if someone could take a look at the script and fix that, then it should work again, because it does mostly successfully create the fixed FBX, i just have no clue how to code, but i was able to get a fully Usable UV by just moving them back into position on the completed atlas in blender. if anyone still wants to use this in the meantime, you just have to calculate the amount you need to move each UV set and then import back into unity, which is easy with some simple math/division etc.

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

3 participants