diff --git a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs index 74568919..078fbcde 100644 --- a/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs +++ b/VContainer/Assets/VContainer/Runtime/Unity/LifetimeScope.cs @@ -279,7 +279,9 @@ LifetimeScope GetRuntimeParent() UnityEditor.EnterPlayModeOptions.DisableDomainReload) > 0; if (rootLifetimeScope == null && disableDomainReloading) { - UnityEngine.Debug.LogError("VContainerSettings.RootLifetimeScope is missing. Please try to re-compile C# scripts just once."); + var path = UnityEditor.AssetDatabase.GetAssetPath(rootLifetimeScope); + if (!string.IsNullOrEmpty(path)) + UnityEngine.Debug.LogError($"VContainerSettings.RootLifetimeScope is missing : {path}. Please try to re-compile C# scripts just once."); } #endif if (rootLifetimeScope != null)