Parser Error: Script not fully loaded(cyclic preload)?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By AfterCadaver

This was the error that I had encountered when I had a script inherit from another.

extends “res://entity.gd”

const DAMAGE = 1
const TYPE = ‘PLAYER’

var SPEED = 100
var lifetime = 32

func shoot_at_player(start_pos):
global_position = start_pos
var dest = get_parent().get_node(‘player’).global_position
var direction = (dest - start_pos)
movedir = direction

func _physics_process(delta):
movement_loop()

if lifetime:
    lifetime -= 1
else:
    queue_free()

0:00:04:0579 - Condition ’ _debug_parse_err_line >= 0 ’ is true. returned: __null

Type:Error
Description:
Time: 0:00:04:0579
C Error: Condition ’ _debug_parse_err_line >= 0 ’ is true. returned: __null
C Source: modules/gdscript/gdscript_editor.cpp:287
C Function: debug_get_stack_level_instance

Please use code blocks. (triple backticks)

timoschwarzer | 2018-12-28 06:09

Is there an error in “res://entity.gd”, perhaps?
If not, does your game run? If it does then close it and see if this error repeats.
You may also try restarting Godot.

hilfazer | 2018-12-28 11:18

No errors in the ‘entity’ script.

The game runs well otherwise. This is a consistent recurring error that still pops up even after restarting.

AfterCadaver | 2019-01-20 03:44