Assessments definitely affect it. Like someone's already said, your UAI is based 50/50 on your assessment marks and your hsc exam.
If you do badly in your assessments, but well in your HSC exam, you could get dragged down.
Like, if your assessment mark was 70 and your HSC exam mark was 95...