Is there some gotchas with running the PostprocessBuildPlayer in the Windows authoring environment? I have ActivePerl installed and can hit perl from the command prompt. I changed the #!/usr/bin/perl to #!perl. But it seems like the script isn’t getting run at all.
I need it to work from both Mac and PC environments. Halp?
OK. So one gotcha was having return; at the end of the file. So I have a script that works just fine from the command line. But it doesn’t seem to be running at all when I build the player. 
The progress dialog when building says that it is Postprocessing.
The Perl script can only run if it is in a folder called “Editor” at the top level of the Project panel. Create the folder and move your script there, if you haven’t already done so.
Yes it is in the Editor folder. The script works fine when building the player in the Mac environment. Same project does not execute the script in Windows. (see above)[/quote]
Does it work from the command line in any case or do you need to go to a specific folder? In the later case the interpreter folder wouldn’t be present in the path, potentially causing it.
Also I’m not sure if active sync hasn’t renamed the interpreter actually which could cause additional headache
Yeah it works from the command prompt calling perl PostprocessBuildPlayer. I even put a dummy script that doesn’t do anything but create a text file to a known good location, writes some text, and closes it. It doesn’t rely on any of the arguments that the build process passes in. Works fine from the command prompt on the same script file on the same PC. Is there anything weird about how Unity calls the interpreter? Does anyone have a working PostprocessBuildPlayer script that works on Windows?
I have the same problem.
How does Microsoft Windows understand the line
#!/Perl/bin/perl.exe
?
I know unix shells understand that line, but MS Windows depends on file extension (such as “.pl” , “.py” … etc) to find the perl.exe or python.exe
Is there a setting in Unity 3D to locate the perl.exe ?
I need a solution soon… Someone please help.