Hey Guys, I am using some post effects scripts to my cameras, and I have to camera in my scene, however when I am switching between those cameras, this error apprears:
Framebuffer creation failed with error code FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, render target: Main Third Person Camera-posteffect-2
I tried to re-create post effects queue but it doesn’t work. I am using the sharpen post effect script and godRay script. Anyone have an idea about what is causing this?
Thank you for any advices.
and when I added more posteffects, the error became:
Framebuffer creation failed with error code FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, render target: Main Third Person Camera-posteffect-5
and when I am using only one script, the error does not appear.
That’s indeed a known issue, there is some discussion and a proposed work around in this thread:
Thanks for Leo’s quick reply!
I disabled all post effects before switching the camera and re-opened them after the switching and it works perfectly.