Preheat the oven to 400°F.
Line a sheet pan with foil and lightly grease it.
In a large mixing bowl, combine the soy sauce, oil, water, ginger, and garlic.
Whisk until well blended.
Add the rice, peas and carrots, and onion, stirring until everything is evenly coated in the sauce mixture.
Spread the rice mixture evenly onto the prepared sheet pan.
Bake for 20 minutes, stirring halfway through cooking.
Remove the pan from the oven and evenly pour the beaten egg over the top without stirring.
Sprinkle with sesame seeds and season with salt and pepper to taste.
Return to the oven and bake for an additional 5 minutes, or until the eggs are set.
Remove from the oven and gently stir, breaking up the cooked egg throughout the rice.
Serve warm.