diff --git a/sky/engine/platform/fonts/fuchsia/FontCacheFuchsia.cpp b/sky/engine/platform/fonts/fuchsia/FontCacheFuchsia.cpp index 46fa2a169cb..1e14d4fe65b 100644 --- a/sky/engine/platform/fonts/fuchsia/FontCacheFuchsia.cpp +++ b/sky/engine/platform/fonts/fuchsia/FontCacheFuchsia.cpp @@ -119,6 +119,11 @@ sk_sp FontCache::createTypeface( [&response](fonts::FontResponsePtr r) { response = std::move(r); }); font_provider.WaitForIncomingResponse(); + FTL_DCHECK(response) + << "Unable to contact the font provider. Did you run " + "Flutter in an environment that has a font manager?\n" + "See ."; + if (!response) return nullptr;