fix: null reference exception from ScaleAdjusterPreview (#896)

This commit is contained in:
bd_ 2024-06-23 10:09:59 +09:00 committed by GitHub
parent 76d5f882eb
commit 9adec1e5e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,6 +48,8 @@ namespace nadena.dev.modular_avatar.core.editor
foreach (var adjuster in scaleAdjusters)
{
if (adjuster == null) continue;
// Find parent object
// TODO: Reactive helper
var root = FindAvatarRootObserving(ctx, adjuster.gameObject);