Preheat the oven to 350ºF (180ºC).
Prepare 3 (9-inch) round cake pans by spraying them with cake release spray (or lightly oiling them) and lining the bottom with a piece of parchment paper cut to size.
Add the unfed sourdough starter, oil, and sugar to a large bowl. Use an electric mixer or stand mixer with the whisk attachment to mix well. It’s ready for the next step when the starter is fully incorporated into the mixture and the sugar is beginning to dissolve.
Add the eggs one at a time, mixing until the egg is fully incorporated between each addition. Add in the vanilla extract and mix again.
Add the crushed pineapple and carrots to the wet ingredients. Using a spatula, fold them into the mixture until evenly distributed. Set aside.
In a separate medium-sized bowl, add the dry ingredients. This includes the flour, cinnamon, allspice, nutmeg, salt, and baking soda. Whisk well to combine.
Add the dry ingredients to the wet ingredients and gently stir just until combined. Do not over-mix. Some lumps in the batter are okay, however you want to make sure there is no flour mixture on the bottom of the bowl as this can affect how the cake bakes. (dry crumb on top of the layer)
Pour the cake batter into each pan, adding a little at a time to ensure it is evenly distributed.
Bake the cakes for 25-30 minutes, or until a toothpick comes out clean in the center and the sides of the cake are starting to pull away from the sides of the pan.
Remove from the oven and allow the cakes to cool in the pan for 25 minutes.
Carefully remove the cakes from the pans and allow them to cool completely on a wire rack before frosting.
If you’re preparing the cake the day before, you can store the layers in the fridge overnight. Wrap each cake layer in plastic wrap and transfer to the fridge. This will help to prevent the cake layers from drying out.