- Home /
WebCamTexture.device on the Kindle Fire returning a camera
The Kindle Fire doesn't possess a camera, yet a call to `WebCamTexture.devices` returns a singular camera with the `WebCamDevice.name` property "Camera 0". Can anyone else replicate this? I am using `Debug.Log` to output info and reading it via adb logcat. I assume Unity should be notified of this as a bug on Kindle Fire if it can be replicated on other people's devices.
If you're wondering why I would need to be checking for an existing camera on a device that doesn't have one, it is to prevent a certain feature to be activated in the game we are developing.
Thanks.
UPDATE
I messaged the Amazon Tech Support team about the issue to see if they knew about anything their end and this is how they replied:
10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.touchscreen.multitouch.distinct 10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.touchscreen.multitouch 10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.sensor.accelerometer 10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.touchscreen 10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.software.live_wallpaper 10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.sensor.light Looks like it could be a Unity problem after all. I've filed a bug report so hopefully, when they get around to it, it'll get fixed. For now, I'm simply checking `SystemInfo.deviceModel` against the literal strings "Amazon Kindle Fire" and "Amazon KFOT". These are the model names of the two non-HD Kindle Fires ( https://developer.amazon.com/sdk/fire/specifications.html). Hope this helps anyone else who gets stuck with this.Thanks for letting us know about this. I haven't had a chance to check the Unity API, but this is the feature set I get from the standard Android function "getSystemAvailableFeatures":
10-02 17:22:00.929: V/DUMP_FEATURES(22382): android.hardware.wifi
Don't have a fire, so can't test it, but I'm going to make a guess, just 'cuz I can :D I'd be willing to bet that the Fire had a camera planned, it was programmed in, then value engineered out and no one bothered to remove it from the code base. That, or perhaps the original Fire has been updated with the same code as the Fire2, which does have a camera.
That could very well be the case. I'll file a bug report with Unity in any case. If I had more time, I'd write up an Android test app to test it through the Android SD$$anonymous$$ to see if it indeed is Amazon's problem, but alas I have not. Cheers.
Answer by Fib25 · Oct 03, 2012 at 03:29 PM
I received an e-mail back from the Unity bug support team. They were able to reproduce the bug and have assigned it to their developers to fix. It should be fixed in the next Unity update or so.
Thanks :)
That's good to hear. Can you post the bugreport id / link so if someone else has the same issue and find your question / answer he can check the state to the issue.
Sure thing. The bug ID is 491748_bj1hcqg3s0b5fnjs at the link: http://fogbugz.unity3d.com/default.asp?491748_bj1hcqg3s0b5fnjs