It doesn't work outside of the editor because the function you use is documented as only working in the editor, see:
http://docs.unity3d.com/ScriptReference/Resources.LoadAssetAtPath.html
Maybe you meant to use `Resources.Load()`?
↧