is the camera set to not overdraw the backbuffer with some fill? in that case such stuff can happen cause the previous content will remain in there.
The code there is meant to go into Start not Ongui (aside of the drawtexture), cause you can skip the dream that you can generate a rendertexture 2-4 times per frame and get away without problems
don’t understand what you mean by “overdrawing the back buffer”… Clear Flags is set to “don’t clear” and Culling Mask is on “Everything” (also tried with a layer containing the object I wanted to render). I don’t know is this is the info you needed…
Thats exactly what I meant with overdrwaing the backbuffer. Because you don’t clear, you basically leave in whatever there was in the backbuffer before, the only place that stuff (garbage) in there will be overdrawn is where you draw something new which is the model and potentially the thing top right.
But the stuff on the left there is garbage present in the backbuffer from some previous rendering or data storage, its undefine whats in the backbuffer unless you fill it with content though
You should (must?) never use “don’t clear” unless this is one of multiple cameras where another camera is clearing the whole backdrop and filling it with a color or something else