FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 22 forks source link

Assets suddenly stopped working on Local Run after update #4442

Open NickMalonzo opened 1 day ago

NickMalonzo commented 1 day ago

Can we access your project?

Current Behavior

Hello! After getting the new update 5.0.8, my local run has not been loading any assets/images.

After updating, I went into one of my apps and started a local run on Chrome and it didn't load any of the assets. It would only load ones that were linked through via Network.

It works fine on the Test Run version, but not Local Run for some reason. Maybe it's me?

image

image

Expected Behavior

It should show uploaded assets on image widgets.

Steps to Reproduce

  1. Create a page
  2. Add an image widget
  3. Upload an asset
  4. Start a local run on Chrome or Edge
  5. Can't see the asset

Reproducible from Blank

Bug Report Code (Required)

ITESz/Hqx89gruYF0LnpK/pqhQIgQ0QnU7gnlO1ucx4jIrarBLAEeM7OX0NKQsvjd21qGlaKnkgzwfzwj/H9LfFePTCdG6Zk0JVPWAHxXl27VqaYEKuROXBCO/5XfW6P1KuzviRQKtFuSUZkwU6tNq3qNleeY8aSfxBlZ7vfcPo=

Visual documentation

This is also is happening from a blank project.

Environment

- FlutterFlow version: 5.0.8
- Platform: Windows Desktop
- Browser name and version: Chrome 129.0.6668.101
- Operating system and version affected: Windows 11

Additional Information

This affects all of my apps.

luxthecreator commented 1 day ago

The same issue after updating to 5.0.8

Run mode for web and android studio yields the same results.

dannymeese commented 1 day ago

Is there any way to downgrade / stay in the old version? I didn't account for having to replace dependencies randomly on a Tuesday. Flutter shouldn't be required to update for flutterflow to still work.

Digitpixels commented 19 hours ago

same issue , but every time i launch local run i get error "failed to export code"

eriklueth commented 18 hours ago

Same here, all assets are not showing up on local run since the update. In test mode on web it is working with no issues.

Alezanello commented 17 hours ago

Hello everyone!

I just tried launching the project that NickMolanzo shared using the bug report code, and it compiled successfully. If you're still experiencing the issue, please share your project's bug report code with me so we can investigate further.

Thank you!

image.png
luxthecreator commented 16 hours ago

To Whom It May Concern,

Recently updated Android Studio to the latest version without knowing it would create FF compatibility issues. Before downgrading Android Studio back to Koala,

I uninstalled the FF Application and the folder at C:\Users\username\AppData\Roaming\FlutterFlow\flutterflow\myapp to allow FF to rebuild data and start from scratch. (Done this on other occasions without issue)

After reinstalling and allowing FF to rebuild, everything downloaded from the cloud just fine, except for items contained in the assets folders. Images, audio, video, rive animation etc.

@Alezanello

Later I downloaded the image of my logo from FF cloud and dropped it into the Images folder contained in assets at C:\Users\username\AppData\Roaming\FlutterFlow\flutterflow\myapp\assets and the logo reappeared in Run Mode just fine after hot reloading my app.

Should I be downloading my Assets one at a time from FF cloud and dropping them into these folders this way, or should this be an automated process that is now not working?

univermal commented 15 hours ago

Same thing, I too had to manually download the code and populate the assets/images folder.

The build also gave other problems, like the fonts folder did not have all the fonts, even in the downloaded code zip. My project did not have any custom fonts, these are all standard fonts that went missing suddenly. I downloaded the required fonts from https://fluttergems.dev/icons/, placed them in assets/fonts folder and things worked fine after that. Something seems to be broken on export side, the local and remote code are not in sync.

Another problem that I am noticing is that the hot reload is failing almost every alternate time with "failed export code" and then it fails to compile the code with following stack trace: image

akscienceltd commented 1 hour ago

Facing the same isssue with my project too! +1