Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double Buffering? #16

Open
Akeli0s opened this issue Mar 7, 2024 · 1 comment
Open

Double Buffering? #16

Akeli0s opened this issue Mar 7, 2024 · 1 comment

Comments

@Akeli0s
Copy link

Akeli0s commented Mar 7, 2024

Hi! I'm experiencing this issue:
Graphics.Blit material "Hidden/NTSCEffect" uses dest texture "TempBuffer 244701 960x480" as input in pass (2), it's an undefined behaviour. Consider using double buffering.
UnityEngine.Graphics:Blit (UnityEngine.Texture,UnityEngine.RenderTexture,UnityEngine.Material,int)
RetroTVFX.CRTEffect:OnRenderImage (UnityEngine.RenderTexture,UnityEngine.RenderTexture) (at ./Library/PackageCache/com.glairedaggers.retrotvfx@9ea13b0d33/Runtime/Core/Scripts/CRTEffect.cs:276)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

@GlaireDaggers
Copy link
Owner

For what it's worth, someone else ran into this as well. I believe it's a Unity bug.

The error is supposed to indicate that I'm passing a render target as input at the same time as rendering into that render target, but I have verified that this is absolutely not the case.

#14 (comment)

Regardless, the thing the error claims is happening is not happening, so it should be harmless and safe to ignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants