Character rendering issue when creating a mirror with render texture and camera

ooh the bug report I sent you earlier about the mirror issue has the exact same warning!

by user 1052295380936691712

do you need another bug report?

by user 1052295380936691712

It does? I didnt see it. Ok I’ll try with that project then. Probably just overlooked it in the console

Altough: I think I should have seen it if it spams the console ^^

yep! whenever there’s this mirror in the scene, it’ll trigger this warning, no matter if it’s in v3.9.0 or the latest one with your mirror fix

by user 1052295380936691712

Ok thanks!

HI @Marcel_Wiessler1 :cactus: ! in dev build, the mirror works great but we noticed that if we make a prod build, the mirror turns black without any errors. appreciate any leads! cc: @sjkl

by user 1052295380936691712

And in prod build, warning spam is like this when mirror is turned on “[.WebGL-00003DDC02186200] GL_INVALID_FRAMEBUFFER_OPERATION: Framebuffer is incomplete: Attachment has zero size.”

by user 1052295380936691712

Hi @tianxu looking at this now

Looks like it’s an oversight on our side - the exported texture is compressed in a production build which causes an error at runtime where three can’t use it as a WebGLRenderTarget - I’m working on a fix

awesome thank you!!

by user 1052295380936691712

Should be fixed tomorrow with the next update

Perfect!! Just curious what the fix is like if it’s easy to describe! Thank you!

by user 1052295380936691712

@tianxu can you try the latest version?

yay the warning is gone!

by user 1052295380936691712