Yes, I can set your mind at rest.
But you may not like the answer.
Which is - yes, depending on what kind of visa you have,
and depending on what offence you are eventually convicted of
(ie, what JohnR said above), a conviction can result in your visa being cancelled,
and your being required to leave Australia.
You will do best contact to Immigration and Border Protection for first hand information about how a conviction will affect your particular class of visa.
http://www.immi.gov.au/FAQs/Pages/how-can-i-communicate-with-the-department.aspx
So far as the offence itself is concerned, I don't have enough information to speculate on any possible penalty.