2022.1 has reached end of life so the issue will be fixed in a newer version.
Steps to reproduce:
1. Open the user’s project
2. Enter Play mode
3. Notice FPS in the top left corner
4. Press the “Test” button (this button enables and disables ShadowCaster2Ds 500 times)
5. Notice FPS
Expected result: FPS does not change
Actual result: FPS gets lower (from ~500 dropped to ~20)