UnityWebglResponsiveTemplate icon indicating copy to clipboard operation
UnityWebglResponsiveTemplate copied to clipboard

Multiple errors on console on import

Open guneyozsan opened this issue 6 years ago • 1 comments

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'.

guneyozsan avatar Oct 15 '18 23:10 guneyozsan

Have you solved this problem?

Wecica avatar Mar 03 '22 05:03 Wecica