You see very little code in the image, but it seems that your error is in the variables that make up your dictionary, or the dictionary itself is null, where do you define the dictionary? and the variables? is it gdscript or c #? If it’s c # I can’t help you much. It seems that the vs gives you an error (or is that red circle in the image a debug point?). Can you run the code in godot editor?
This is quite interesting. the TempDict is created like this: