fenix-hub / godot-engine.easy-charts

A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
MIT License
638 stars 48 forks source link

Invalid Resource Reference! #100

Closed chaojian-zhang closed 4 months ago

chaojian-zhang commented 7 months ago

During building one encounter the following errors:

Cannot open file 'res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn'.
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:284 - res://addons/easy_charts/utilities/containers/canvas/canvas.tscn:56 - Parse Error: 
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/canvas.tscn. Make sure resources have been imported by opening the project in the editor at least once.
editor/export/editor_export_platform.cpp:757 - Condition "ps.is_null()" is true. Returning: p_path
Cannot open file 'res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn'.
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:284 - res://addons/easy_charts/utilities/containers/canvas/canvas.tscn:56 - Parse Error: 
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/canvas.tscn. Make sure resources have been imported by opening the project in the editor at least once.
editor/export/editor_export_platform.cpp:757 - Condition "ps.is_null()" is true. Returning: p_path
Cannot open file 'res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn'.
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/plot_box/PlotBox.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:284 - res://addons/easy_charts/utilities/containers/canvas/canvas.tscn:56 - Parse Error: 
Failed loading resource: res://addons/easy_charts/utilities/containers/canvas/canvas.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/main/window.cpp:890 - Attempting to make child window exclusive, but the parent window already has another exclusive child. This window: /root/@EditorNode@17140/@Panel@13/@DependencyEditor@769, parent window: /root, current exclusive child window: /root/@EditorNode@17140/@Panel@13/@DependencyErrorDialog@593

After tracing back, we can find that:

https://github.com/fenix-hub/godot-engine.easy-charts/blob/5c8f22c19d8ff8e0e6c94af0e7703da7e9fdc829/addons/easy_charts/utilities/containers/canvas/canvas.tscn#L4

Which refers to a file that doesn't exist at all!

image

https://github.com/fenix-hub/godot-engine.easy-charts/tree/5c8f22c19d8ff8e0e6c94af0e7703da7e9fdc829/addons/easy_charts/utilities/containers/canvas/plot_box