Check you oil level in transmission , sounds like you are low on oil or low oil pressure in transmission.
If the car is tuned , also transmission can be starting to fail.
I had some rev in 5th some while ago , since then I have done a full oil and filter change on engine and transmission and diff. No problems lately.
And run a diagnostic on the car , see what errors you get.
Vargas S2 turbos|VAC S3 Cylinder head|RR DPs|RR MPs|Supersprint X pipe|Remus Quad Sport mufflers|aFe Stage 2 Si with scoops|Forge DVs|ER CP|BMS meth elbow|Aquamist HFS-4|Walbro 450 E85 LPFP|AA FMIC|BMS OCC|Cobb stage2+ agressive FMIC LT|P3 Boost Gauge|Ohlins Road & Track + camberplates|M3 sways F/R+ Ground control endlinks|Vorsteiner v303 19"|Michelin PS2 sport|Quaife LSD|Vorsteiner V35 CF hood|CF CLS trunk|Duke Dynamics quad diffusor