We are currently getting this a lot on our site and it seems there is no real reason. No change but it sort of solves itself again...
System.InvalidCastException: [A]Umbraco.Cms.Web.Common.PublishedModels.Hero cannot be cast to [B]Umbraco.Cms.Web.Common.PublishedModels.Hero. Type A originates from 'ModelsGeneratedAssembly, Version=0.0.0.5, Culture=neutral, PublicKeyToken=null' in the context '"" Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.UmbracoAssemblyLoadContext #1' at location 'C:\Windows\TEMP\ucmw01l2.fkj'. Type B originates from 'ModelsGeneratedAssembly, Version=0.0.0.3, Culture=neutral, PublicKeyToken=null' in the context '"" Umbraco.Cms.Web.Common.ModelsBuilder.InMemoryAuto.UmbracoAssemblyLoadContext #4' at location 'C:\Windows\TEMP\wcyetanj.1na'.