- Home /
How can I compile zigfu to webplayer
Hello! sorry about my poor English first. I am a student. I want to achieve like the zigfu web sample work. (http://zigfu.com/en/samples/sample/avatarfrontfacing/) It all okay when the platform was on PC/MAC, but I just switch the platform to webplayer it something wrong. First error was "Depth camera input will not work in editor when target platform is Webplayer. Please change target platform to PC/Mac standalone. UnityEngine.Debug:LogError(Object) Zig:Awake() (at Assets/ZigFu/Scripts/Zig.cs:19)". I actually know what it mean, but if I want to work on web what should I do is suitable way. Thanks watching! Any suggestion is appreciated.
Answer by amir · May 07, 2013 at 04:32 PM
Amir from Zigfu -- The error is because UnityObject2.js (Unity 4.x) is different from UnityObject.js (Unity 3.x) and we have to update our code due to the changes. For now, you can simply use our HTML file as a template for your web player compiles.