Search Issue Tracker
Won't Fix
Votes
20
Found in
5.6.0b7
Issue ID
879280
Regression
No
[XR][Android] Image effects are not rendering properly with single-pass
1) Download project, set up Singleppass stereo capable android device
2) Observe settings are set to Single pass and Daydream
3) Deploy to device
4) Look at the terbuchet thingy in the scene
5) Wait for the image effect to enable
6) Observe that when the image effect is enabled, it renders a small viewport of the post-effectd scene in the top right corner of each eye.
Note:
-This happens with each of the standard asset image effects
-
shubhamswaraj2021
Aug 18, 2020 11:27
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
-
b4th
Mar 27, 2019 16:51
Is this not a duplicate of https://issuetracker.unity3d.com/issues/oculus-go-postprocessing-effects-are-not-applied-to-built-applications ??
-
Atley
Feb 13, 2019 21:11
I used the @ARKADE fix in Unity 2018.3.4f1 and got the following error. Any advice?
Shader error in 'Hidden/HxVolumetricDownscaleDepth': 'tex2D': no matching 2 parameter intrinsic function; Possible intrinsic functions are: tex2D(sampler2D, float2|half2|min10float2|min16float2) tex2D(sampler2D, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2, float2|half2|min10float2|min16float2) at line 58 (on gles3)
-
bennedich-resolution
Dec 13, 2018 13:32
Thanks @ARKADE your fix works perfectly in 2018.2.5f1.
-
jonny2027
Nov 14, 2018 15:11
This issue still exists in 2018.2.1f1
-
ibyte
May 28, 2018 18:43
Arkades solution worked for me!
-
Arkade
Jan 31, 2018 19:59
FYI to fix any shader with this problem, swap the declaration of the sampler from:
> uniform sampler2D_float _CameraDepthTexture;
to
> UNITY_DECLARE_DEPTH_TEXTURE(_CameraDepthTexture);
-
sskenth
May 30, 2017 19:55
I've got the issue with daydream. Single pass fails on every version 5.6.0f2 onwards.
Works on 5.6.0f1only. -
Kabutak
May 04, 2017 14:49
A similar issue is produced on GearVR, presumably this happens on all android vr devices. There is an issue in shaders when compiling for single-pass and only for single-pass. "Shader error in '<Shader Name>': undeclared identifier 'sampler_CameraDepthTexture' at <Line Number> (on gles3)"
Even unity's built in shaders give this error when building. It seems to have to do with the line SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, i.uv); Hopefully this bug is fixed in the near future, but it seems to be considered lower priority. A workaround IS possible, but since that workaround is either not using post-processing or single-pass stereo, it isn't ideal.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
- "Unable to get the list of approved APIs." is thrown when testing the App Packages with Windows App Certification Kit
- [Linux] The mouse wheel input is inverted when scrolling in the Build
Resolution Note:
Unity's support for GearVR has been deprecated in our 2019.3 release and will be removed in a future release. As such, we're deprioritizing our support of GearVR, and won't be actively fixing issues related to the platform.
This issue is being marked as Won't Fix. If that resolution isn't appropriate, please reopen the issue and let us know the issue's impact for you.