Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Fib25 · Sep 27, 2012 at 04:27 PM · texturewebcamtexturewebcamkindle fire

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:

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

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.
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Itinerant · Sep 27, 2012 at 09:21 PM 0
Share

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.

avatar image Fib25 · Sep 28, 2012 at 11:21 AM 0
Share

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.

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

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 :)

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Bunny83 · Oct 03, 2012 at 03:30 PM 1
Share

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.

avatar image Fib25 · Oct 04, 2012 at 02:59 PM 0
Share

Sure thing. The bug ID is 491748_bj1hcqg3s0b5fnjs at the link: http://fogbugz.unity3d.com/default.asp?491748_bj1hcqg3s0b5fnjs

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

11 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Projector with WebCamTexture as texture 0 Answers

Creating Snapshots or Images with WebCamTexture? 2 Answers

How do I set pixels with WebCamTexture.GetPixels 1 Answer

WebCamTexture not working on Instance objects 0 Answers

Assigning UV Map to model at runtime 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges