Rovinj is an absolutely quiet city in terms of crime. Of course, theft does happen, but only inattentive tourists suffer from thieves. Keep an eye on your belongings, don't carry large amounts of cash in your wallet, and don't leave cell phones, tablets, and cameras unattended on the beach.
The biggest dangers of the Croatian resort are related to the fauna of the Adriatic. Sea urchins can be waiting in the water (especially on "wild" beaches). The presence of these sea creatures indicates that the water area is impeccably clean. But a meeting with them may not end very pleasantly. Therefore, do not forget to bring special bathing slippers. If you still stepped on a hedgehog, dip your foot in hot water and treat the wound with antiseptic. The second danger of beaches - rocks formed by dead corals. It's easy to cut yourself on their sharp edges (slippers come to mind).
In Croatia's nature reserves and forests, don't stray too far from the hiking trails. There are poisonous vipers in the green thickets.