Save/Load crashing?

Hey guys, my first post here!
I built a script to save/load based in Save and Load from XML tutorial to define the character material that the player will use in another scene. Everything works perfectly inside Unity, but:

1- When i export the game to Web Player, the Unity Script crashes in the character selection (save game);
2- When i export the game to PC Standalone, the second scene load without character material and the first scene (Character Selection) is still show at the background of the second scene.

Any help? I’m using Unity 4 to build the game.

Thanks advance.

Well for starters webplayers cannot save directly to the filesystem as that would be a security hazard. You can store data in PlayerPrefs but for this I would probably recommend storing the data in a static variable. The scene objects gets flushed on scene load, but static variables stays.

Thanks for the answer, UnLogick! Static variables works greatly, but I chose to use PlayerPrefs so far.