To prevent cracks in guava cheesecake, avoid overmixing the batter, as this can incorporate too much air and cause the cheesecake to rise and then collapse, resulting in cracks. If you bake it, using a water bath during baking can help create a moist environment and prevent the cheesecake from drying out and cracking.