- Home /
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.
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?
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?
Your answer
Follow this Question
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