primitive asset mesh changed by procedural - how to go back to initial primitive mesh ?

hi
i played with capsule mesh , modifying it by some code.
The fact is , after exiting running mode, the changes i made on primitive capule asset mesh is persistant .
Each neaw capsule i add in editor time in scene is the one i modified in previous execution.

my question is : how to reinitialize standard primitive asset for my project ?
thanks a lot !

subsidary question : persitant modication is due to the use of shardeMesh instead of mesh when modifying the mesh … you confirm ?

First try restarting Unity if you haven’t already. If that doesn’t fix it, you’ve corrupted the default library resource. Easiest way is to reinstall the version of unity.

Don’t modify the default assets. They are actual assets that are saved on disk and you can write over them. If you want to mess with the capsule mesh, create your own, or use mesh instead of sharedMesh. sharedMesh modifies the original, whereas mesh creates a unique instance.

thanks a lot !
it works by restarting Unity !