When generating code via T4 template, the SitecoreTemplate.BaseTemplates collection is being populated with a single, null item on some of my templates, even though they are assigned base templates in Sitecore.
What are some reasons this could be? I've tried several routes of debugging but turned up nothing.