I also tried using HTML5 export and got these errors:
Code: Select all
**SCRIPT ERROR**: Parse Error: Unknown class: "CreatureGodot" index.js:7:35827
At: res://morphTest.gdc:1:GDScript::load_byte_code() - Parse Error: Unknown class: "CreatureGodot" index.js:7:35827
**ERROR**: Method failed. Returning: ERR_PARSE_ERROR index.js:7:35827
At: modules/gdscript/gdscript.cpp:778:load_byte_code() - Method failed. Returning: ERR_PARSE_ERROR index.js:7:35827
**ERROR**: Cannot load byte code from file 'res://morphTest.gdc'. index.js:7:35827
At: modules/gdscript/gdscript.cpp:2240:load() - Condition "err != OK" is true. Returned: RES() index.js:7:35827
**ERROR**: Failed loading resource: res://morphTest.gdc. index.js:7:35827
At: core/io/resource_loader.cpp:278:_load() - Condition "found" is true. Returned: RES() index.js:7:35827
**SCRIPT ERROR**: Parse Error: Unknown class: "CreatureGodot" index.js:7:35827
At: res://morphTest.gdc:1:GDScript::load_byte_code() - Parse Error: Unknown class: "CreatureGodot" index.js:7:35827
**ERROR**: Method failed. Returning: ERR_PARSE_ERROR index.js:7:35827
At: modules/gdscript/gdscript.cpp:778:load_byte_code() - Method failed. Returning: ERR_PARSE_ERROR index.js:7:35827
**ERROR**: Cannot load byte code from file 'res://morphTest.gdc'. index.js:7:35827
At: modules/gdscript/gdscript.cpp:2240:load() - Condition "err != OK" is true. Returned: RES() index.js:7:35827
**ERROR**: Failed loading resource: res://morphTest.gdc. index.js:7:35827
At: core/io/resource_loader.cpp:278:_load() - Condition "found" is true. Returned: RES() index.js:7:35827
**WARNING**: Couldn't load external resource: res://morphTest.gd index.js:7:35827
At: scene/resources/resource_format_text.cpp:175:_parse_ext_resource() - Couldn't load external resource: res://morphTest.gd index.js:7:35827
**ERROR**: Cannot get class 'CreatureGodot'. index.js:7:35827
At: core/class_db.cpp:1329:is_class_enabled() - Condition "!ti" is true. Returned: false index.js:7:35827
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_X level 0 is incurring lazy initialization. index.js:7:260712
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_X level 0 is incurring lazy initialization. index.js:7:260712
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_Y level 0 is incurring lazy initialization. index.js:7:260712
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_Y level 0 is incurring lazy initialization. index.js:7:260712
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_POSITIVE_Z level 0 is incurring lazy initialization. index.js:7:260712
WebGL warning: generateMipmap: Tex image TEXTURE_CUBE_MAP_NEGATIVE_Z level 0 is incurring lazy initialization.
I have also tried exporting with GLES 2 but still failed.
Just to clarify - the export process was successful but I couldn't play the result (.exe or .html).