I am working on a level editor using physics bodies. When I save to the Xbox I get the following message:
"An Unhandled Exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll"
and the program breaks in the Serilization class at the using statement. Any clues on how to make this work?
public static class WorldSerializer
public static void Serialize(World world, string filename)
using (FileStream fs = new FileStream(filename, FileMode.Create))
new WorldXmlSerializer().Serialize(world, fs);