Tooltips for custom resouces once displayed properly, but no longer do

Godot Version

4.4.1

Question

This property displayed correctly yesterday. I was able to send this tooltip to a friend yesterday.

Now today, this tooltip no longer correctly displays on either my Windows PC or my Arch laptop.

I reference these tooltips constantly to remember my own thought process. How can I get them back?

Deleting all of the code in my script below class_name, saving, then restoring that code and saving again does restore my tooltips… But it also destroys all of my settings, in all locally-saved copies of that resource.

image

Thankfully, I tested this in a resource that stored only testing data. I can’t do that for all of my resources.

Does this have to do with how tooltips are cached in the editor? Is that something I can flush?


Update 2: Reloading the editor loses the tooltips again.

image

Editing the resource’s script and saving restores tooltip access. This is maddening?

How can I ensure my tooltips aren’t… forgotten? cleared? un-cached? when I open the editor.

Maybe deleting your .godot folder would help re-check the scripts rather than destroying your current exports/settings. You may be able to “Open Documentation” by right clicking the property or ctrl-clicking the variable in scripts. Sadly GDScript doc comments seem to be hit or miss, I cannot tell why either.

That did it, it seems. I’ll keep an eye out for it happening again.

I poked around inside .godot before deleting it, and I saw a few .cfg files for script documentation cache. I assume those had to be generated fresh—but why? What could case them to need to be re-made in the first place?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.