The book I'm looking for is not Ender's Game or Ready Player One.
This book is based on a generationship that has been travelling for several years. At least 2 generations were born on the ship. The nature of the ship fosters cooperation rather than competition to the point where even in gym class the students are reprimanded for finishing first.
Classes are taught in VR pods with teacher commentary. One student, instead of getting the lesson finds himself in a VR role playing game. He meets with other young adults his age and they are given a quest.
I read this book between 10 and 15 years ago, but while I remember the plot, the title and the author escapes me. I would really appreciate your help in identifying the book. Thank you!