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