Issue with CacheMetaData - Custom Activity Creation

This will sound random but try putting base.CacheMetadata at the end of the method instead of the beginning.