UnityWebglResponsiveTemplate
UnityWebglResponsiveTemplate copied to clipboard
Multiple errors on console on import
On Unity 2018.2.11f1, when I copy WebGLTemplates
folder into project I get a typo error:
Assets/WebGLTemplates/Responsive/responsiveMinimalTemplateLoader.js(89,117): UCE0001: ';' expected. Insert a semicolon at the end.
After fixing it by adding ;
at the end of the line, editor gets 37 errors on console similar to these:
Assets/WebGLTemplates/Responsive/responsiveMinimalTemplateLoader.js(16,26): BCE0019: 'style' is not a member of 'Object'.
Assets/WebGLTemplates/Responsive/responsiveMinimalTemplateLoader.js(27,5): BCE0005: Unknown identifier: 'window'.
Have you solved this problem?