castledb-godot
castledb-godot copied to clipboard
The identifier "index" isn't declared in the current scope.
After importing my database.cdb
, I opened it to see inside if everything was doing ok.
Then, I saw this error over here.
I searched the code and I discovered that the index
variable indeed wasn't defined.
I gave the source code a look and I saw this:
Maybe keys.size()
is returning 0 but there is keys...
Someone knows how to solve it?
If you could attach a slimmed down sample of your database file it would be helpful in determining what went awry here.
Looks like the same issue as here: https://github.com/thejustinwalsh/castledb-godot/issues/6
You need 1 Unique Identifier
column per sheet.
I'm also unsure if my plugin will parse your snake_case column names as you would expect. I think I just capitalize the first character and assume you would be using camelCase column names. I hacked this together for a game I was porting so your mileage may vary.