Unity release build cannot show images when used the multi-pass rendering
Hi, I wrote a script for multi-pass rendering, which is to render images in different resolutions. For example, the first layer with a full-screen low resolution render into a texture. The second layer has a higher resolution but smaller image scope also rendered into a texture. After that, I draw these two layers texture into the camera view, so the overall image will have different resolution.
The problem is, it works in Unity edit model but when I build a release version, I can see nothing on the screen. It looks like the images are not drawn on the camera view. The same scene without multi-pass rendering processing, the release build works.
Could anyone tell me what's the problem it could be?
Here are the screenshots: In Unity Edit model: In release build:
Your answer
Follow this Question
Related Questions
unity raytracing flashes white, what do i do 0 Answers
Post processing effects in scene view do not match game view. 1 Answer
Exporting custom render passes 1 Answer
URP Render Feature missing in final output 0 Answers
HDRP - How do I make one volume which only affects UI, and another which affects the scene? 1 Answer