Quick answer: Godot C# exported strings truncating in the inspector? Long strings need [Export(PropertyHint.MultilineText)] or a higher hint string buffer — default is a one-line edit.

A C# script exports a description string. The inspector field cuts off at one visible line and longer content is invisible. The hint should be multiline.

Multiline Strings

[Export(PropertyHint.MultilineText)]
public string Description = "";

The inspector renders a text area; line breaks survive serialization.

File / Dir Paths

Use PropertyHint.File, PropertyHint.Dir, with extension filters in the hint string: "*.png,*.jpg". The inspector opens a picker dialog.

Enum from C# Enum

Export a C# enum with [Export] and Godot derives the dropdown automatically — no PropertyHint.Enum string required.

Verifying

Multi-line descriptions paste in cleanly and round-trip through save / load with newlines intact.

“C# export hints control the inspector UI. Multiline strings need PropertyHint.MultilineText.”

For long-form data, prefer a Resource subclass with [Export]s of its own — better than packing everything into one node’s inspector.