awkwardpolygons / cartographer

A GPU powered Terrain editor and renderer for Godot Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to load addon script from path: 'res://addons/cartographer/plugin.gd'

opened this issue · comments

Unable to load addon script from path: 'res://addons/cartographer/plugin.gd' There seems to be an error in the code, please check the syntax.

error(4,1) Expected a constant expression

const Action = Cartographer.action

Are you on Godot 3.2.2?
Just replace const with var and it should be fine. Will check and update later.

On Godot 3.2.2, resolved by adding cartographer_singleton.gd as Singleton with autoload = true, same as in the example project.

Thanks