Steps to reproduce:
1. Create a new 2D URP project
2. Open the “SampleScene” scene
3. Create a new GameObject with Animator and LineRenderer components
4. Create a Material using the Universal Render Pipeline/2D/Sprite-Lit-Default shader, and assign any texture to the “Diffuse” slot
5. Assign the Material to the LineRenderer.
6. Create an animation for the GameObject
7. Add the LineRenderer's “Material._Renderer Color” property
8. Save the animation
9. Select the GameObject and repeatedly toggle it active/inactive
Actual results: The GameObject becomes invisible
Expected results: The GameObject remains visible
Reproducible with: 6000.0.0f1, 6000.0.80f1, 6000.3.20f1, 6000.5.5f1, 6000.6.0b5, 6000.7.0a3
Reproducible on: macOS Sequoia 15.7.7 (M1 Max)
Not reproducible on: No other environments tested
Note: Running the animation also reproduces the issue