flame-engine/flame

AssetManifest.json no longer available

Closed this issue · 5 comments

What happened?

I'm running flutter on its main channel (fully aware that is expected to run into issues) and noticed they recently removed the deprecated AssetManifest.json yet flame is still trying to load it and I can't see any signs of an update planned, so I wanted to give a heads-up of that incoming change so you can be prepared.

What do you expect?

Flame preparing for the removal of deprecated API/Assets

How can we reproduce this?

Build and run any flame code using assets, while on flutter main channel.

What steps should take to fix this?

As explained in the official deprecation document any usage of AssetManifest.json should be switched over to the AssetManifest API.

Do have an example of where the bug occurs?

No response

Relevant log output

Execute in a terminal and put output into the code block below

Output of: flutter doctor -v

[√] Flutter (Channel main, 3.33.0-1.0.pre-1507, on Microsoft Windows [Version 10.0.19045.6216], locale de-DE) [5,8s]
• Flutter version 3.33.0-1.0.pre-1507 on channel main at D:\dev\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision edc8a52e80 (2 hours ago), 2025-08-20 23:58:35 +0300
• Engine revision 960d1078f8
• Dart version 3.10.0 (build 3.10.0-118.0.dev)
• DevTools version 2.49.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file,
enable-lldb-debugging

(the rest of the output is presumably not relevant, can provide if you think otherwise)

Affected platforms

All

Other information

No response

Are you interested in working on a PR for this?

  • I want to work on this

Thanks for the heads-up!

Is anyone working on this? I would like to migrate it

Hi @Prakharpan-dey
There is nobody working on it, I'll assign you to the issue.

looking through the files i could only find one instance of AssetManifest. Is it that only or am i missing something. Also are there any tests related to this?

looking through the files i could only find one instance of AssetManifest. Is it that only or am i missing something. Also are there any tests related to this?

If you update to the main channel of flutter it'll give you deprecation notices where it is used. It might only be one place.