Description
Tested versions
- Reproducible in 4.4dev2 and 4.4dev3
- Not reproducible in 4.3stable and 4.4dev1
System information
Godot v4.4.dev3 - Ubuntu 22.04.5 LTS 22.04 on X11 - X11 display driver, Single-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3080 (nvidia; 535.183.01) - AMD Ryzen 5 3600 6-Core Processor (12 threads)
Issue description
It seems like there might be a regression with either custom resources or EditorImportPlugin
.
In versions previous to 4.4dev2 I used a EditorImportPlugin
to load an array of Task
custom resources as a TaskList
resource from a CSV file. In 4.4dev2 and 4.4dev3 loading the CSV from game code seems to return an empty array instead. No errors are produced. Interestingly enough, in affected versions the imported data can be viewed in the editor. Also loading the resource from a @tool
script seems to work.
Instead of an array of custom resources, I also tried to load an array of String
, which made no difference.
Steps to reproduce
- Create resource to hold an array of data (another custom resource in my case).
- Create an EditorImportPlugin which reads a CSV and saves it as the aforementioned container resource
- Create custom CSV data and let Godot import that via the EditorImportPlugin
- Observe that the resource can be explored in the editor, meaning that it has been successfully imported
- Add code to
load
orpreload
the CSV data during runtime - Observe that the loaded data is an empty array
Minimal reproduction project (MRP)
Metadata
Metadata
Assignees
Type
Projects
Status