mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-04 03:29:02 +08:00
fix: logspam caused by ScaleProxy on unity 2019 (#699)
This commit is contained in:
parent
0a82c59cd1
commit
1666f96d61
@ -82,6 +82,9 @@ namespace nadena.dev.modular_avatar.core
|
||||
|
||||
ClearOverrides(root);
|
||||
|
||||
// Avoid logspam on Unity 2019
|
||||
if (PrefabUtility.IsPartOfPrefabInstance(gameObject)) return;
|
||||
|
||||
DestroyImmediate(gameObject);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user