0 votes

The following is the output of "adb logcat". The solution to similar previous problem were unable to solve this for me.

> 08-24 15:48:02.398 12217 12249 I godot   : SCRIPT ERROR:
> GDScript::load_byte_code: Parse Error: Unexpected token:
> ':':RichTextLabel 08-24 15:48:02.398 12217 12249 I godot   :    At:
> res://scripts/MyScript.gdc:2. 08-24 15:48:02.398 12217 12249 I godot  
> : ERROR: load_byte_code: Method/Function Failed, returning:
> ERR_PARSE_ERROR 08-24 15:48:02.398 12217 12249 I godot   :    At:
> modules/gdscript/gd_script.cpp:682. 08-24 15:48:02.398 12217 12249 I
> godot   : ERROR: load: Condition ' err != OK ' is true. returned:
> RES() 08-24 15:48:02.398 12217 12249 I godot   :    At:
> modules/gdscript/gd_script.cpp:1754. 08-24 15:48:02.398   386   715 D
> AudioTrackShared: front(17920), mIsOut(1), mAvailToClient=0
> stepCount=256 minimum=256, FUTEX_WAKE 08-24 15:48:02.399 12217 12249 I
> godot   : ERROR: load: Failed loading resource:
> res://scripts/MyScript.gd 08-24 15:48:02.399 12217 12249 I godot   :  
> At: core/io/resource_loader.cpp:210. 08-24 15:48:02.399 12217 12249 I
> godot   : ERROR: poll: Can't load dependency:
> res://scripts/MyScript.gd 08-24 15:48:02.399 12217 12249 I godot   :  
> At: core/io/resource_format_binary.cpp:717. 08-24 15:48:02.399 12217
> 12249 I godot   : ERROR: load: Condition ' err != OK ' is true.
> returned: RES() 08-24 15:48:02.399 12217 12249 I godot   :    At:
> core/io/resource_loader.cpp:137. 08-24 15:48:02.400 12217 12249 I
> godot   : ERROR: load: Failed loading resource:
> res://RichTextLabel.tscn 08-24 15:48:02.400 12217 12249 I godot   :   
> At: core/io/resource_loader.cpp:210. 08-24 15:48:02.400 12217 12249 I
> godot   : ERROR: start: Failed loading scene: res://RichTextLabel.tscn
> 08-24 15:48:02.400 12217 12249 I godot   :    At: main/main.cpp:1401.
> 08-24 15:48:02.404   386   715 D AudioTrackShared: front(18176),
> mIsOut(1), mAvailToClient=0 stepCount=256 minimum=256, FUTEX_WAKE
> 08-24 15:48:02.410   386   715 D AudioTrackShared: front(18432),
> mIsOut(1), mAvailToClient=0 stepCount=256 minimum=256, FUTEX_WAKE
> 08-24 15:48:02.416   386   715 D AudioTrackShared: front(18688),
> mIsOut(1), mAvailToClient=0 stepCount=256 minimum=256, FUTEX_WAKE
asked Aug 24, 2017 in Projects by ajyotirmay (12 points)

1 Answer

0 votes

Ensure you are using the correct export templates for the editor version. It happened to me once.

answered Aug 24, 2017 by davidoc (382 points)

You are right. I was using version 2.1 and the export templates were for 2.1.3. It worked for me after I upgraded Godot executable to the latest version.

Thanks for the suggestion.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.