-
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
Exception: Asset 'shaders/ink_sparkle.frag' does not contain appropriate runtime stage data for current backend (Vulkan). Found stages: SkSL OpenGLES #143806
Comments
You seem to be missing any flutter doctor output? |
I have same error message with the following problem: If I install an app via debug mode on any device (emulator with any SDK or real android device), it works as it should. As soon as I hit hot reload/restart or simply start the installed application, the code executes to a certain point and then just stops. No errors, no warnings, nothing. Debug console last messages are:
I already did flutter clean, dart pub cache clean, I cleared intelliJ caches and deleted all generated files/folders, I also tried all the solutions on stack overflow for "flutter W/Parcel ( 7088): Expecting binder but got null!". I added a button to my "base" screen, the only screen that renders, and when I click it, it shows the aforementioned Exception about shaders.
Here is my 'flutter doctor -v' output:
|
So this doesn't happen at startup, but does happen after a hot reload (or hot restart?). And you're using Impeller? |
@jonahwilliams it happens when i start the app normally too (clicking the app icon) |
For some reason, now i get the folling message over and over after the first initialization:
I actually didnt change anything, I just used a different emulator (API 26) EDIT: Now I get this error when pressing the aforementioned button
|
Same behavior when not using |
Hi @nomoruyi, does this happen with the counter app? Are you seeing this on specific device or os versions? If this does not reproduce with the counter app can you provide a minimal sample along with steps to reproduce the issue? Thank you |
This error happened on production and yes I was using impeller |
Hi @richard457, please provide the flutter doctor output of the flutter version that was used to deploy the application. Are you able to replicate this locally? |
And can confirm that just after updating to the Also, can confirm that it happen when app is running and when clicked on button...
it seems this is very serious issue... btw while app was compiling in
Earlier was on last stable prior to Assuming this should not be issue ? |
btw this is stacktrace...
|
Hi @Vedsaga, can you provide a minimal sample? I tested a small app on the latest master channel but I can't reproduce the issue. |
So if we follow this step
and try to run the project will be not able to even the app...
cc: @danagbemava-nc |
Just update... after switching back to While not able to reproduce the starter project the above error... however still happening in |
I can confirm that after updating from 3.16.9 tot 3.19.2 it is still happening. Not sure why or when exactly it happens. because i am able to debug & develop but after "a while" it fails to hot reload and I have to run flutter clean and run again. |
Just noticed... last time when tried to produce the exception forget to enable Impller,,, this time able to reproduce it... import 'package:flutter/material.dart';
/// Flutter code sample for [Autocomplete].
void main() => runApp(const AutocompleteExampleApp());
class AutocompleteExampleApp extends StatelessWidget {
const AutocompleteExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Autocomplete Basic'),
),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Text(
'Type below to autocomplete the following possible results: ${AutocompleteBasicExample._kOptions}.'),
const AutocompleteBasicExample(),
FilledButton(
onPressed: () {
print("----Impeller Exception----");
},
child: Text('Click for Impeller Exception'),
)
],
),
),
),
);
}
}
class AutocompleteBasicExample extends StatelessWidget {
const AutocompleteBasicExample({super.key});
static const List<String> _kOptions = <String>[
'aardvark',
'bobcat',
'chameleon',
];
@override
Widget build(BuildContext context) {
return Autocomplete<String>(
optionsViewOpenDirection: OptionsViewOpenDirection.up,
optionsBuilder: (TextEditingValue textEditingValue) {
if (textEditingValue.text == '') {
return const Iterable<String>.empty();
}
return _kOptions.where((String option) {
return option.contains(textEditingValue.text.toLowerCase());
});
},
onSelected: (String selection) {
debugPrint('You just selected $selection');
},
);
}
} Also, set the <meta-data
android:name="io.flutter.embedding.android.EnableImpeller"
android:value="true" />
<meta-data
android:name="flutterEmbedding"
android:value="2" /> cc: @danagbemava-nc |
Hi @Vedsaga, I was able to reproduce this on the stable channel but I can't seem to reproduce this on the Can you confirm if you still reproduce this on the master channel? |
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to reproduce
Exception: Asset 'shaders/ink_sparkle.frag' does not contain appropriate runtime stage data for current backend (Vulkan).
Found stages: SkSL OpenGLES
Expected results
Work perfectly
Actual results
Exception: Asset 'shaders/ink_sparkle.frag' does not contain appropriate runtime stage data for current backend (Vulkan).
Found stages: SkSL OpenGLES
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: