diff --git a/editor/editor_resource_preview.cpp b/editor/editor_resource_preview.cpp index 623aa3f45c7..bae7887c022 100644 --- a/editor/editor_resource_preview.cpp +++ b/editor/editor_resource_preview.cpp @@ -476,6 +476,7 @@ void EditorResourcePreview::start() { } else { SceneTree *st = Object::cast_to(OS::get_singleton()->get_main_loop()); ERR_FAIL_NULL_MSG(st, "Editor's MainLoop is not a SceneTree. This is a bug."); + st->add_idle_callback(&_idle_callback); } }