diff --git a/scene/debugger/script_debugger_remote.cpp b/scene/debugger/script_debugger_remote.cpp index 961a8633020..25ee9dff9a2 100644 --- a/scene/debugger/script_debugger_remote.cpp +++ b/scene/debugger/script_debugger_remote.cpp @@ -675,7 +675,7 @@ void ScriptDebuggerRemote::_send_object_id(ObjectID p_id) { prop.push_back(pi.hint_string); prop.push_back(pi.usage); - if (!res.is_null()) { + if (!res.is_null() && !res->get_path().empty()) { var = res->get_path(); }