Hello =)
I am creating a scene using a XML I parse, it works like a charm in the editor, but once I create a webplayer, it does nothing, by creating a custom-made debug window, it looks like the File.Exists fonction does not end properly since the following code:
ShowRoom.Log("Start");
if (File.Exists(path))
{
ShowRoom.Log("OK");
}
else
{
ShowRoom.Log("Not OK");
}
StreamReader myReader = new StreamReader(path);
ShowRoom.Log("Finished parsing");
Have the output:
“Start”
And nothing else…
If the function had worked, it would have done “Start OK/NOT OK” and then “Finished Parsing”
My debug function is fine (for what I want at least).
The paths are relative, and files are correctly placed (and even if they weren’t, i’d have the “NOT OK” and then player would crash).
If anyone has a suggestion…any kind of help would be appreciated