Skip to content

Asset loader on linux fails to load 0-size assets #36574

@mehmetf

Description

@mehmetf

Internal: b/137946340

Logs are not terribly helpful since we only get a null asset back which causes an exception in the framework.

For a more detailed help message, press "h". To detach, press "d"; to quit, press "q".
[ERROR:/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: Unable to load asset: testdata.pb
#0      PlatformAssetBundle.load (package:flutter/src/services/asset_bundle.dart:221:7)
<asynchronous suspension>

The same code works on Android.

Metadata

Metadata

Assignees

No one assigned

    Labels

    engineflutter/engine related. See also e: labels.platform-linuxBuilding on or for Linux specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions