Inspector not showing exported properties of some resources

Godot Version

4.3

Question

I am creating a skill system where each skill has three “antisynergy bonuses” that you get for not upgrading that skill.

The antisynergy bonuses are PermanentModifier objects coded as resources as follows.

class_name PermanentModifier
extends Resource

@export var skill: BaseSkill
@export var title: String = ""
@export_multiline var description: String = ""

I then have a SkillInfo class which contains information about each skill, including its antisynergy bonuses (AntisynergyBonus is just a subclass of PermanentModifier with a few extra values, it’s omitted here for brevity):

class_name SkillInfo
extends Resource

@export var base_skill: BaseSkill = null

@export_category("Antisynergy Bonuses")
@export var antisynergy_bonus1: AntisynergyBonus = null
@export var antisynergy_bonus2: AntisynergyBonus = null
@export var antisynergy_bonus3: AntisynergyBonus = null

I then created custom resources for each skill and added the details of the antisynergies using the inspector panel:

This was all well and good, but now a bunch of the skill info resources I created are no longer showing the skill/title/description fields. They just show a path, but it’s not even to a file it’s to a file and the double-colon and then some sort of identifier, eg:res://char/skills/res/info/str-info.tres::Resource_7m482

I don’t understand why this has happened or why it’s only affecting some but not all of my skill info resources. Programmatically, I can still access the antisynergy info, but I don’t see where or how I can edit it in the GUI. How can I get back to a state where the SkillInfo resources displayed the actual data for the AntisynergyBonus resources? Alternatively, how can I edit the antisynergy resources using the path/identifier?

My guess is you changed the code for the AntisynergyBonus at some point, and the ones you’re having problems with are the ones you made before that change. Try remaking one and see if the problem goes away.

It wouldn’t actually let me make a new one for some reason, but I restarted Godot and now everything is fine so I guess I’ll close this and if anyone has the same issue, just restart Godot.