Renderqueue

Hi, I tried tinkering with renderqueue but it seems that lets say i change the queue to be 1000 right now and if I remove that piece of code that sets the queue to 1000, the queue is still 1000 even though it was 3000 originally. Is this a bug or is it supposed to work that way :face_with_spiral_eyes:

Are you modifying a shared material? Or a copy of a material? (Can you post the code where you make the renderqueue assignment?)

It’s something like gameObject.renderer.material.renderQueue = 1000

This is the expected behaviour and is documented as such in the scripting reference: