There is no official Transformer who transforms into a unicorn in any Hasbro/Takara Tomy continuity (G1, Beast Wars, Prime, Movies, Cyberverse, etc.).
Possible sources of the idea:
If you saw a specific image or story, share the source and I'll identify it.