I’m having trouble loading a resource with subresources.
Currently, I’m implementing a save-load system by storing and retrieving a Resource with a .tres file. The main Resource (GameSave) holds subresources (ObjectSave), and everything seems to be saving correctly to user://ex-path.tres. However, when I try to load the resource back, I get an error(s) for each subresource in the file.
I’ve imported my .tres save file to check in-editor and all data seems to be set correctly. My subresource is pretty simple, holding only string, int, and Vector2. It does inherit from Resource, and all the properties are set correctly in the .tres file. I also tried redownloading Godot-mono from the official site. Mono is installed and up-to-date. My system OS is mac.
I would really appreciate any ideas or pointers. I don’t really understand the errors and am not sure where to go from here.
Most common error:
Failed to read file: '/root/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs'.
Cannot load C# script file '/root/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs'.
Failed loading resource: /root/godot/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs. Make sure resources have been imported by opening the project in the editor at least once.