[SOLVED] Unwrapping low poly mesh fails

We are slicing up a large mesh generated by RC into small tiles, importing the obj back into RC, then running unwrap on each tile individually. While this works 99.9% of the time, every few thousand we get the following error:

Processing fail: Invalid function call
[0x5102\0x5101]

Examining these meshes shows no issues, but they all tend to be <500 polys, while most meshes are 10k-1M polys.

  • We’ve also tried removing faces in MeshLab slowly to find any problems, but we can still get the error even with 1 poly and 3 vertices left
  • Merging the broken mesh with another mesh (to increase the number of polys slightly) fixes the issue
  • The error also occurs in the sdk (20170518-SDK-1-0-2-2600-5755F799-7ED0-4C47-A702-889BB81FD252), usually with a memory access violation.
  • Changing any of the unwrap parameters makes no difference (resolution/texel size/gutter etc)
  • Occasionally switching to the legacy unwrap will fix it, but not most of the time

All this leads me to believe its due to some memory not be initialized correctly when there is not enough data due to the low poly count. Unfortunately the RC project itself is very large so I cannot provide it, but I have attached one of the obj files that caused the error.

  • Steven

Hi Steven Watts

its possible to make backup cope of the project and then you remove the large models and keep just the small model there ? and send the project files even without images to my email ?

Hi Steven Watts

can you try import this repaired model ?

0_3_2_2_2_0_4_repair.rar

have repaired this sort of issues

Screenshot 2017-07-12 09.33.54.png

That seemed to work, sounds like its probably due to position rounding in very small polygons becoming 0 area. We’ll add some filtering for those cases and see how it goes. Still a strange error to get, but hopefully we can work around it at least

Hey Steven,

been a while… :slight_smile:

What kind of workflow do you use to slice up the model and bring it back?
I’m asking because the question has been asked a couple of times by other users but there was never any satisfactory solution…

Wishgranter, what did you do?
Would it be possible for normal users to fix this?
Or would we all have to send the stuff to you? :smiley: