UVgami icon indicating copy to clipboard operation
UVgami copied to clipboard

Unwrapping never starts on some low poly shells

Open stockto2 opened this issue 1 year ago • 1 comments

I'm using UVgami as part of an automated workflow, unwrapping low poly meshes. (And it's awesome, thank you for creating this.) Frequently UVgami will get stuck unwrapping 1-4 shells of the model (out of 60 or so) and never finish.

If I click the eyeball by on the 'stuck' shells, the window appears but doesn't have anything in it. If I click the stop button, a message in the console says a stop is initiated, but it never stops. Canceling works as expected, but shows the error mesage: "An unknown error occurred: -1073740791"

For some of the failing meshes, if I try to unwrap them as their own object, it works immediately. For some, it always gets stuck.

A common factor between the shells that fail to unwrap is that they have few vertices, like 20 or less.

In progress, so far so good: In progress, so far so good Stuck on these 4: Stuck on these 4 Eyeball preview is empty: Eyeball preview is empty These are the "stuck" meshes: These are the failing meshes Console output: Console output

Possible workaround: If there could be a timeout option for each unwrap, where it stops unwrapping a shell after x seconds if unwrapping isn't finished yet, then I could detect whether the unwrap has happened on each shell and maybe subdivide the faces and try again.

Again thanks for this tool! I hope we can find a way past this bug. Let me know if I can provide any more info.

stockto2 avatar Apr 05 '24 22:04 stockto2

Hey, glad to hear you find the add-on useful!

The timeout option is a good idea, I'll add this later when I have more time.

DanielBoxer avatar Apr 09 '24 02:04 DanielBoxer