Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
3
Question by StevenSauer · Jun 06, 2013 at 09:30 PM · androideditorrendertextureblackrendertotexture

Render Texture Black on Android Only

Hello,

First off I'd like to say that the project is working fine on all platforms EXCEPT android. This issue is specific to android and even appears in the editor while the setting is android.

I am using 3D cameras that render to a texture. No matter how many ways I attempt this, despite any camera settings or shaders I use (I plan to use Unlit/Transparent) it still renders nothing but black. My render layers are all correct and even the camera preview shows me what I would expect to see. Yet, the texture and material remain black. I'm assuming it's some wrong with the connection between the camera and the render texture but I'm not sure what.

In case it matters, I'm using Android SDK r22 which was causing a bug due to a folder structure problem prior to the recent 4.1.4f1. I am now using 4.1.4f1 and it can read the SDK fine, though I'm not sure if this new SDK could be causing the render texture problem seeing as it happens in editor when Unity attempts to simulate Android.

Thanks in advanced for any help.

Comment
Add comment · Show 1
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 StevenSauer · Jun 07, 2013 at 06:16 PM 0
Share

After much more experimentation and trial/error, I am even more certain it is the camera's ability to write to the texture. The RenderTexture is surely blank. Shaders that have a default white, show up as white (not transparent as the camera would render the background, solid white) and even generating the texture at Start() produces the same effects. I'm absolutely befuddled. Any help?

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Alex1678 · Apr 22, 2020 at 09:39 AM

Hello, is there already a fix for this, because I have the same problem with Unity 2019.3.1f1?

Comment
Add comment · 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

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

16 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 avatar image avatar image avatar image avatar image avatar image

Related Questions

RenderTexture not working when in Editor 1 Answer

Script works in editor, but does not work in build (Android) 1 Answer

Change Editor resolution for android devices. 1280x800 not selectable. 4 Answers

Animation stops Recast from working 0 Answers

Sprites and textures appears black on Samsung Galaxy Grand I9082 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