에셋 정보 불러올 때 모델링 읽기 권한 예외 처리

This commit is contained in:
정영민
2025-06-13 10:12:26 +09:00
parent 9f618c0ffc
commit 13757fde02

View File

@@ -244,6 +244,9 @@ namespace Studio.Manage
foreach (var mf in meshFilters)
{
if (mf.sharedMesh.isReadable)
continue;
if (mf.sharedMesh != null)
{
int tris = mf.sharedMesh.triangles.Length / 3;
@@ -253,6 +256,9 @@ namespace Studio.Manage
foreach (var smr in skinnedRenderers)
{
if (smr.sharedMesh.isReadable)
continue;
if (smr.sharedMesh != null)
{
int tris = smr.sharedMesh.triangles.Length / 3;