It won’t affect your application.
It will be a violation of any UC acceptance and could be grounds for rescission.
In my experience, once the UC receives your senior transcripts, you will receive notification that your acceptance is under review. Sometime between May and Aug a final determination is made as to whether the UC will rescind your admissions.
Any chance you could get a C- ?