Depends on your build target. Webplayers have zero access to the hard drive of the machine where they run. That is by design. Other platforms will allow you to use `System.IO` functions. However, there is no "load asset from file" feature in the Unity run-time. If you are trying to load 3d models, then you will need to write/buy an FBX/OBJ/whatever importer.
↧