Reproduction steps:
1. Open the attached "IN-4924" project
2. Build and Run the "SampleScene" scene
3. In the Build press the "Loop" button
4. Observe the messages in the log
Expected result: There are no error messages
Actual result: "Releasing render texture that is set as Camera.targetTexture!" error message appears
Reproducible with: 2019.4.39f1, 2020.3.35f1, 2021.3.3f1, 2022.1.3f1, 2022.2.0a15
Reproducible with: Vulkan, Direct3D11 and OpenGLES3 Graphics API's
Reproducible with: Windows Standalone Player
Not reproducible in the Editor (Windows 10)
Reproducible with these devices:
----------, Huawei - (ELS-NX9), Android 10, CPU: HiSilicon Kirin 990 5G, GPU: Mali-G76
----------, Samsung Galaxy Z Flip3 5G (SM-F711B), Android 11, CPU: Snapdragon 888, GPU: Adreno (TM) 660
----------, Samsung Galaxy S22 (SM-S901B), Android 12, CPU: Exynos 2200, GPU: Ltd.
----------, Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
Not reproducible with these devices:
iPhone 12 Pro (iOS 14.2.1), iPhone 6S (iOS 13.3.1)
Couldn't test with these devices:
----------, Samsung Galaxy Note2 (GT-N7100), Android 4.4.2, CPU: Exynos 4 Quad 4412, GPU: Mali-400 MP (Older SDK)