Comments (4)
Hm, strange, thanks for filing an issue 👍 And thanks for the logcat! Unfortunately, there wasn't any related error or exception captured - but that's interesting because there really should be something when the app is crashing 🤔
Because the app keeps on crashing after the failed import, I doubt it to be a permission issue. Images are copied into the database, and if that fails (or throws an exception), there's no reason why the app should crash on a fresh startup. This sounds rather like the database got corrupted somehow by the failed import, but I have no idea how that could happen and I would really expect to see a couple of exceptions in that case 🤔
I also don't quite understand why picking from "Images" in the file picker works, while picking from "TB128FU" leads to this crash.
from shadereditor.
Actually it seems to be certain images, not their location. Here's one that does it. Curiously, this is resized from a larger image that also causes the same problem.
I assumed the file size was the issue, but larger files are working. (Also this happens after cropping into a square, so that would be odd.)
Sometimes, if I reopen the app, the sampler2D
line won't be added to the shader, and it won't crash. Other times, it will crash immediately. When it doesn't crash, the image may or may not appear in the list of samplers.
I don't know Android very well. How can I get a better log that isn't flooded with irrelevant messages?
from shadereditor.
It's the image format! The color space of this image is scRGB-nl
, but it must be sRGB
for OpenGL to load it.
Of course, the app should handle this better and I'm already working on a fix. Thanks for posting the image! 👍
from shadereditor.
There will be a new version soon.
from shadereditor.
Related Issues (20)
- Gyroscope input issues HOT 3
- Sensor didn't work HOT 3
- Variable for dark/night mode HOT 2
- Idea: Use the shaders as custom screensavers
- L0002: Undeclared variable 'iTime' HOT 1
- Touch screen like mouse in computer? HOT 1
- Limit FPS HOT 2
- No matching overload function HOT 2
- Live wallpaper not work in some device HOT 2
- Date and daytime did not update HOT 3
- Request: backbuffer sample
- (Question) Linear sampling for backbuffer HOT 2
- Suggestion: Add typing-relevant bar above keyboard HOT 3
- Slow text deleting
- [question] Minecraft shaders? HOT 1
- can't import texture HOT 1
- [feature request] - shader list ordering HOT 2
- [Suggestion] Add play sound from internal storage
- [Ask] Sensor didn't work when shader applied as wallpaper
- [Bug] `PagerTabStrip` Discrepancy between Play store version and self-built version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadereditor.