It is likely that you didn't add enough liquid to the rice to allow it to soften. While 4 cups of broth has always been enough for my rice to cook completely, it's possible you may need to add a splash more. With risotto, you should really test the texture as you go.