Godot Version
4.5
Question
I have a resource that looks like:
extends Resource
class_name EventData
@export var title: String
@export_multiline var description: String
@export var choices: Array[EventChoice]
the choices array contains event choices which look like:
extends Resource
class_name EventChoice
@export var text: String
@export var cost: Dictionary = {}
@export var reward: Dictionary = {}
I am editing an event choice by selecting an event in the file system then using the inspector tab on the right side of the screen.
Whenever I am editing an instance of the event choice resource in my project’s files and add a new entry to the dictionaries the last entry won’t be saved unless I add a new empty entry.
The last entry will be lost if I begin editing a script or scene in the middle of the editor or if i go from one dictionary to the next.
The save button on the inspector also does not seem to save the current entry and follows the same rules as having to add an empty entry to the dictionary to save the current entry.

