mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-02-06 22:02:48 +08:00
fix: error during domain reload (#1077)
This commit is contained in:
parent
d33787a6b0
commit
c309d93bdd
@ -74,7 +74,12 @@ namespace nadena.dev.modular_avatar.core.editor.Simulator
|
||||
Selection.selectionChanged -= SelectionChanged;
|
||||
is_enabled = false;
|
||||
|
||||
// Delay this to ensure that we don't try to change this value from within assembly reload callbacks
|
||||
// (which generates a noisy exception)
|
||||
EditorApplication.delayCall += () =>
|
||||
{
|
||||
PropertyOverrides.Value = null;
|
||||
};
|
||||
}
|
||||
|
||||
private ComputeContext _lastComputeContext;
|
||||
|
Loading…
Reference in New Issue
Block a user