jjejj87
1
I am using HDRP 7.1.6 with 2019.3
When I try to show render texture via RawImage UI, it works just fine in the editor but, nothing shows up in the standalone build.
Does anyone know if this is a known issue?
UPDATE: Looks like an old bug that came back. Can the Unity Devs confirm?
jjejj87
2
Am I the only one experiencing this issue?
jjejj87
3
Quick update: render texture works if built in dev mode.
I have the exact same issue, same Unity/HDRP version, and making a development build fixes it for me too. Note, I am in Linux using Vulkan.
The RenderTexture is being created and works fine, but it doesn’t seem to work in a UI RawImage in release builds.
Edit: When we use the exact same RawImage with a RenderTexture that was created through a custom renderer, it works just fine.
olavrv
5
We had exactly the same issue (ame unity and HDRP version)
FIX: Set color format in rendertexture to B10G11R11_UFLOAT_PACK32
7 Likes
jjejj87
6
just checked with 7.1.7 and the issue is still there.
UUUnity
7
Are you an angel ? I’ve been bothered by this problem for a long time,Thanks bro
1 Like
You rock dude! And for anyone trying to make this work in code, you want…
RenderTexture rt = new RenderTexture(512, 512, 24, RenderTextureFormat.RGB111110Float);
rt.Create();
I haven’t tested all of the options, but this was the first one I hit that worked 
3 Likes
This bug hasn’t been fixed? You didn’t find any other way than this workaround?
Can anyone explain those color formats?