This literally just happened to me. I was levelling my Voidrig while doing an arcana bounty. Exited my necramech and died in my warframe. And ALL of my levels (plus any alevels gained via bonus affinity) were LOST and my necramech was reset to RANK ZERO!!! This is beyond frustrating.