I have just upgraded from 7.13 to 7.39.1. This error does not occur in 7.13.
Before I go into debugging, can I just ask, did anything change recently that newly added logging for this error? Or asked slightly differently: Can I assume that an error in my code was present in 7.13 already but it was just not logged?
The console spam comes in batches and without any interaction with the scene.
When I turn off “Render targets” in the Inspector, the console spam stops. However, the error is still logged whenever I move the camera. The error also logs when doing random stuff in the scene. Cannot spot a pattern yet.
If I dispose all materials, the error seems to be gone.
The log of this error is not new, but it’s strange that you’re only getting it now if you haven’t modified your code… If you can provide a reproduction, we’ll be able to find the first revision where this error starts to appear and understand what generates it.
Alright, found it. Something wrong with GreasedLine.
Not sure what the deal is with "RenderTargets " in my local project. Does GreasedLine use RenderTargets somehow? (*Reminder: in local project, the console error is spammed from within the render loop until I turn off render targets in the inspector.)