Can't use a RenderTexture on a Sprite renderer unity 2021.3.1f1

I have an scene in my game that uses a RenderTexture that is rendered on a Sprite renderer as the title says, but when i upgraded it to unity 2021.3.1f1(LTS), it stopped working, what is happening is that, when i try to assign the RenderTexture on the material of the Sprite renderer, the base map becomes the same as the SpriteRenderer sprite.

Edit: It results in a almost full white screen.

How it should be: (Unity version 2020.3.30f1 (LTS))

How it is: (Unity version 2021.3.1f1 (LTS))

In case someone have this problem in the future, i solved it by basically using a quad game object instead a sprite renderer.