-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter 3.22 different behavior between debug and release mode #148401
Comments
No information about what changed. and no code. please help! |
Hi @alr2413, as noted above, we will more information than is currently available if we're to be able to provide some assistance. What platform is this issue on? Please provide additional information and if possible a minimal reproducible code sample so that this can be properly investigated. Thank you |
Same for me. It works fine on previous stable versions. |
Hi @synstin, testflight should be keeping track of crashes, can you share the crash log? If you run it locally in release mode, does it also crash? Is this specific to iOS or are other platforms affected as well? |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I am also experiencing different behavior in release than in debug. I think this issue is related to #148983 because in my case, it happens in parts of the code where I use UniqueKey() |
+1 |
+1, no error in debug, but ui rendering not working in release |
@moffatman, @danagbemava-nc |
Steps to reproduce
After upgrading to latest stable version of flutter (i.e. 3.22), found out that the application is not working properly in release mode. but everything works fine in debug mode. I also checked with fresh installation with no luck. So, I downgraded flutter to the previous stable version (i.e., 3.19.6) and both release and debug mode worked fine.
Expected results
Both release and debug mode should have the same behavior.
Actual results
Released version has a different behavior compare to debug version in both windows/mac, the web version works fine.
Code sample
Developed application is a bit complicated to share a part of code here.
Screenshots or Video
No response
Logs
There is no output log by running in release mode
Flutter Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.19045.4291], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
X cmdline-tools component is missing
Run
path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run
flutter doctor --android-licenses
to accept the SDK licenses.See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.6.2)
[√] Android Studio (version 2023.3)
[√] VS Code, 64-bit edition (version 1.62.3)
[√] Connected device (3 available)
[√] Network resources
The text was updated successfully, but these errors were encountered: