Skip to content

'Invalid get index '_room' (on base 'Dictionary')' error in Godot 4 #331

Answered by WolfgangSenff
MeBadDev asked this question in Q&A

You must be logged in to vote

For one, you shouldn't need to use get_data() in this fashion: when you get a database reference, that will get the data for you. You did not follow the wiki correctly, or the wiki is wrong maybe? Where does it say in the wiki to call get_data() like that? I don't see it anywhere on the page for the database. For two, you should be connecting to the new_data_update signal on the reference and then getting your data back from the handler.

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@MeBadDev

Answer selected by WolfgangSenff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants