Having the same error as here, but in Godot 4.5: #301
Gloot version is 3.0.1
I don't think the cause of the error is the same as gloot no longer depends on the prototype being inherited, and I have not re-loaded my project so the JSON has not been re-ordered. When editing items in an inventory via editor, it shows the inherited properties. However, on run, I get this error:
E 0:00:01:536 Prototype._find_derived_prototype: Assertion failed: Prototype 'generic' not found!
<GDScript Source>prototype.gd:127 @ Prototype._find_derived_prototype()
<Stack Trace> prototype.gd:127 @ _find_derived_prototype()
prototype.gd:121 @ get_derived_prototype()
proto_tree.gd:78 @ deserialize()
proto_tree_cache.gd:17 @ get_cached()
inventory.gd:40 @ @protoset_setter()
Here is the JSON prototree being loaded in the inventory node:
{
"generic": {
"name": "itemname",
"image": "res://icon.svg"
},
"fruit": {
"inherits": "generic",
"hungerfill": 1
},
"tools": {
"inherits": "generic",
"unlocked": false,
"effectiveness": 1
},
"accessories": {
"inherits": "generic"
}
}
Having the same error as here, but in Godot 4.5: #301
Gloot version is 3.0.1
I don't think the cause of the error is the same as gloot no longer depends on the prototype being inherited, and I have not re-loaded my project so the JSON has not been re-ordered. When editing items in an inventory via editor, it shows the inherited properties. However, on run, I get this error:
Here is the JSON prototree being loaded in the inventory node: