Errors appear when moving the mouse over the scene elements in the hierarchy after building a project that uses tile only rendering mode if the scene contains a camera rendering to a render texture and terrain in the scene. There are some other errors in the console as well but this is the first one and they all show up with the same repro.
Error:
Adding the final blit pass when Tile-Only Mode is on. This is not valid and will throw an exception. Likely, an On-Tile Feature has requested the intermediate textures but did not correctly copy the data to the backbuffer.
UnityEngine.Rendering.RenderPipelineManager:DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset,intptr,object,Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle)
Steps to reproduce:
Test project attached which has this set up completed.
- in the renderer settings turn on the "Tile-Only" mode. (error appears for forward or deferred).
- create a 2nd camera that renders to a render texture and set a quad to use that texture in the scene. Note I tried a repro with these separately and it didn't work, both seemed to be needed.
- create some terrain
- build the project (I built it using Android build profile). Note the error doesn't appear until the project is built.
- use mouse to hover over scene elements in scene hierarchy
Actual results:
The error spams in the console whenever hovering over a new element
Game view in editor renders the render texture black Sometimes the whole scene (this happened in my repro project but not the original project I saw the error in).
Expected results:
no error I guess or I'd expect it to be displayed before I built and not just when I hover over a scene element.
I'm not sure the error is valid here either, the scene seems to render correctly in the standalone player.
Reproducible with versions:
6000.7.0a3_4e19c2c3389f
Not reproducible with versions:
did not test other versions but I didn't see this on tile only option in 6.5 when I looked at it there.
Can’t test with versions:
Tested on (OS):
Windows
built for android but didn't test building for other platforms.
Notes: