Plugin: Coplay Unity plugin v8.15.1 (Coplay-v8.15.1.dll)
Unity: 6000.x, URP 2D, Windows 11
Every capture_ui_canvas call logs this as an Error:
Releasing render texture that is set as Camera.targetTexture!
UnityEngine.Object:DestroyImmediate (UnityEngine.Object)
Coplay.Controllers.Functions.Implementations.VisualFeedbackFunctions:
CaptureCanvasWithCamera (UnityEngine.Canvas,string)
Cause: CaptureCanvasWithCamera calls DestroyImmediate on its temporary
RenderTexture while that RT is still assigned as the capture camera's
targetTexture.
Fix — clear the target before releasing the RT:
camera.targetTexture = null;
RenderTexture.active = null;
// then DestroyImmediate(rt) / ReleaseTemporary(rt)
Impact: cosmetic (capture still returns valid pixels) but it spams the
console with Error-level entries on every UI capture, which masks real errors.
Plugin: Coplay Unity plugin v8.15.1 (Coplay-v8.15.1.dll)
Unity: 6000.x, URP 2D, Windows 11
Every capture_ui_canvas call logs this as an Error:
Releasing render texture that is set as Camera.targetTexture!
UnityEngine.Object:DestroyImmediate (UnityEngine.Object)
Coplay.Controllers.Functions.Implementations.VisualFeedbackFunctions:
CaptureCanvasWithCamera (UnityEngine.Canvas,string)
Cause: CaptureCanvasWithCamera calls DestroyImmediate on its temporary
RenderTexture while that RT is still assigned as the capture camera's
targetTexture.
Fix — clear the target before releasing the RT:
camera.targetTexture = null;
RenderTexture.active = null;
// then DestroyImmediate(rt) / ReleaseTemporary(rt)
Impact: cosmetic (capture still returns valid pixels) but it spams the
console with Error-level entries on every UI capture, which masks real errors.