It seems that mesh is not generating properly for some reason. I can't remember how but on my previous AP project I didn't encounter this problem. The demo files on the same project file does not have this problem too.
We apologize for any inconvenience caused by this bug.
We think this is a bug that occurs when using images with sizes larger than 2048.
After updating to the latest version, we have received similar reports from other users, and we intend to solve this issue in the next update.
Anyway, please refer to the explanation below to fix the Auto-mesh generation function to work correctly.
This issue mainly occurs when the size of the loaded image is 4096 or larger as above.
(Depending on Unity's settings, this bug can also occur on smaller images.)
Running the "Auto-mesh generation" function in this state will not generate the mesh correctly.
This problem occurs because AnyPortrait incorrectly recognizes image properties when the "actual size of the image file" and "image size as a Unity asset" are different.
If you select the image asset in the Unity editor, you can see that the Max Size is limited to 2048 as shown above.
The solution to this bug is to release the limit on the size of the image asset to the actual size.
As in the image above, set Max Size to a value equal to or larger than the actual image size.
Now you can see the mesh is being created properly.
If you are targeting a resource-constrained platform such as Web or Mobile, images larger than 4096 may not be supported.
So, we recommend that you change the Max Size back to 2048 after you have created all meshes.
By the way, this is a temporary solution before we fix the bug.
We will fix the bug so that you don't have to do this cumbersome work.
Once again, we are very sorry for the inconvenience caused by this bug.
If this solution didn't help, please let us know again.
Hello Neko.
We apologize for any inconvenience caused by this bug.
We think this is a bug that occurs when using images with sizes larger than 2048.
After updating to the latest version, we have received similar reports from other users, and we intend to solve this issue in the next update.
Anyway, please refer to the explanation below to fix the Auto-mesh generation function to work correctly.
This issue mainly occurs when the size of the loaded image is 4096 or larger as above.
(Depending on Unity's settings, this bug can also occur on smaller images.)
Running the "Auto-mesh generation" function in this state will not generate the mesh correctly.
This problem occurs because AnyPortrait incorrectly recognizes image properties when the "actual size of the image file" and "image size as a Unity asset" are different.
If you select the image asset in the Unity editor, you can see that the Max Size is limited to 2048 as shown above.
The solution to this bug is to release the limit on the size of the image asset to the actual size.
As in the image above, set Max Size to a value equal to or larger than the actual image size.
Now you can see the mesh is being created properly.
If you are targeting a resource-constrained platform such as Web or Mobile, images larger than 4096 may not be supported.
So, we recommend that you change the Max Size back to 2048 after you have created all meshes.
By the way, this is a temporary solution before we fix the bug.
We will fix the bug so that you don't have to do this cumbersome work.
Once again, we are very sorry for the inconvenience caused by this bug.
If this solution didn't help, please let us know again.
We're here to help quickly.
Thank you.