From 9c84c810bc490a583e8eee4cc5f38fb94788e1b1 Mon Sep 17 00:00:00 2001 From: hadashiA Date: Tue, 26 Nov 2024 13:45:05 +0900 Subject: [PATCH] Make sure do nothing if autorun=false --- VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs index 47bb80f4..00a9707c 100644 --- a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs +++ b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs @@ -140,7 +140,6 @@ protected virtual void Awake() } try { - Parent = GetRuntimeParent(); if (autoRun) { Build();