after building my game (windows standalone), it doesn't work because there are information and data missing which are in the executablename_Data/Resources folder. I try to get access to this data with Application.dataPath + "/Resources/fileName.xml. It works only if i copy&paste the xml manually into this folder after the build.
How to solve this problem: "Note that the string returned on a PC will use a forward slash as a folder separator." http://unity3d.com/support/documentation/ScriptReference/Application-dataPath.html
The path I get with application.dataPath is like: C:/.../.../executablename_Data but on windows it has to be C:\...\...\executablename_Data
You don't need to use backslashes even on Windows, just forward slashes.
answered Sep 19 '11 at 05:06 PM