I have a script that uses sampleImage to find whether there is any visible content within the composition (the script adds a layer and applys sampleImage to it). Somebody who is using the script is experiencing some issues. In one project, the sampleImage expression fails to find the visible layer. What makes it complicated is that I ran the script on my computer with the same project and did not experience any problems. The user has tested the same script on other projects and it has worked fine.
Are there any after effects settings that affect sampleImage() results?
The user who is experienceing the problem is working in AE CS6 on a mac. I tested his project in CS6 on Windows, but I have tested the script in CS6 on my mac also and haven't had any problems.