javascript error on unity-generated html page

Hey all,

I’m part of a small team of developers working on a new Unity game called HeliTrials. We just launched a beta test on the rcgroups.com website, but there’s a javascript error on the Unity page (basically just a styled version of the web player page Unity generates), in the platform/version detection code for testing for PPC mac.

The error reads: ‘document.getElementById(…)’ is null or not an object

Based on my research on the forums/manual, it seems like replacing “document.getElementById(“UnityEmbed”).” with “GetUnity().” will work just fine, but I don’t have access to a PPC-based Mac, so I don’t have a way to test if the code still works.

Can anyone give me some insight into what limitations GetUnity() might have? I don’t want to unknowingly exclude people with older Macs from installing/updating the Unity player from our page.

Many thanks.

Just giving this a bump. Has no one else experienced this error? Seems odd considering it’s an error in the code Unity itself generates.