Question by 
               tperry1x · Nov 18, 2015 at 08:25 PM · 
                standalonecompiler errorcompile-errorunknown identifierfileutil  
              
 
              Unknown identifier: FileUtil when building
Hi there. I've got a script that works fine in unity and when previewed. When I make a standalone (target OSX x86), I get this error:
 Unknown identifier: 'FileUtil'.
The offending line is:
 FileUtil.DeleteFileOrDirectory(Application.dataPath + "/data/" + tdata + ".txt"); // delete the save file in the folder
The build does not complete as this error is produced by unity:
 Error building Player because scripts had compiler errors
Am I right in thinking I can't use FileUtil in a standalone? Is there an alternative?
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Compiler errors... please help 0 Answers
Compiler error 2 Answers
Unexpected Symbol 'float' 0 Answers
Send a message from unity standalone application to a java application on linux? 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                