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

Unsupported meshes bug: Index out of range with certain models #7

Closed
piXelicidio opened this issue Jun 13, 2023 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@piXelicidio
Copy link
Owner

Happens with samples from these sources after pressing START PAINT MODE:
https://trockk.itch.io/new-td-turret-lot
https://assetstore.unity.com/packages/3d/animations/1h-swing-low-left-5785

@piXelicidio piXelicidio added the bug Something isn't working label Jun 13, 2023
@piXelicidio
Copy link
Owner Author

The root cause of the problem is overlapping vertices. The plugin should deal with them.

@mstergtr
Copy link

I am also having this problem with a Synty pack. Some models are fine while others are not.

@piXelicidio
Copy link
Owner Author

Hi @mstergtr , please if you could grab to try the Painter.cs script to replace in your project that would be of great help to confirm with more model samples.
https://github.com/piXelicidio/DAPolyPaint/blob/mesh-support/Painter.cs
I believe it solves most of the problems with this kind of meshes with overlapping vertices and other weird constructions.
Thanks

@mstergtr
Copy link

The updated Painter script seems to have fixed the problem. Thanks! Great tool so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants