Comments (4)
Thanks for reporting the issue. I'll investigate it on next weekend.
from unimgpicker.
Hi, @groznybear
Could you give me more information? I added an activity to help debugging 🐛
- Checkout the branch
fix/crash_on_galaxy_s7
. - Open the Android project at
unimgpicker_android
with Android Studio. - Run
app
with debug mode on your device. - Set some breakpoints and find out what's going wrong within
Picker.java
lines 93-123.
It seems the value of opts.outWidth
at the line 106 to be zero.
That is probably because reading image options at lines 96-98 is somehow failing.
// Decode metadata
BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inJustDecodeBounds = true;
BitmapFactory.decodeStream(inputStream, null, opts);
inputStream.close();
Thank you.
FYI, I run the sample scene on following environment, and it worked.
Device: Nexus 5
OS: Android 6.0.1
Unity: 5.5.1f1
from unimgpicker.
Hi, after couple of weeks of "bug fixing", seems like I found the reason of my problem! Seems like I accidentally turned on "Do not keep activities" switch, under "Developers" tab in Settings. Turning it off fixed the problem. I'm sorry I disturbed you! You may check this option, if that was an actual reason. Thank you for your attention! Plugin works well now!
from unimgpicker.
Thanks for the report. I'm happy to hear the plugin is working.
Feel free to report another issue if you find any bugs or inconveniences.
Thank you :)
from unimgpicker.
Related Issues (20)
- Unity 2018.3.0b5 Android Gradle Build Failed HOT 5
- Doesn't work with WebGL HOT 2
- Build with the latest Unity HOT 2
- Unimgpicker doesn't work when i push the button HOT 2
- unable to upload videos. I have modified the code and made the system work with videos, but the uimgpicker does not show videos when im trying to upload. Where can i change this setting.
- Not Working In Mobile
- Gradle error when build for android
- How to check image orientation of image HOT 4
- Problem with Unimgpicker HOT 3
- Handling of IllegalArgumentException
- How do we crop the image ? HOT 3
- can we make two cube and then ........... HOT 5
- Doesn't work on IOS device HOT 2
- リサイズ機能を戻して欲しい+Windows対応しました HOT 4
- Cancel response
- Alternative to using delgate to get URL HOT 1
- Image Picker: NullReferenceException
- How to make the orientation of img picker scene become landscape left?
- How can I use this to apply on an image instead of a mesh renderer? HOT 1
- How to get size before compression of image in android environment
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 unimgpicker.