don-tnowe / godot-wyvernbox-inventory

Action RPG-focused inventory system for Godot 3 and 4
MIT License
105 stars 4 forks source link

Test scenes error when loaded on Godot 4.0.3 #2

Closed KeltonHislop closed 1 year ago

KeltonHislop commented 1 year ago

Description

The test_2d.tscn, test_3d.tscn, and inventory_menu.tscn scenes give errors when one attempts to add them to the scene tree or double click to open them. This was tested on Godot 4.0.3 and Godot 4.0.3 .NET version. Behavior persists regardless of where in the scene tree the tscn is added.

Screenshots

image

To Reproduce

don-tnowe commented 1 year ago

Thank you for a detailed and formatted report!

I can't really fix this. This issue happens because paths in scene files are absolute (e.g. "res://example/graphics/font.ttf" not "<current folder>/graphics/font.ttf") I see in your FS dock the example and addons folders are in a sub-folder godot-wyvernbox-inventory, not in the root directory - try:

This is mainly Godot's problem, missing dependency resolution is broken in 4.0 right now, so it no longer lets you fix it at all, let alone with one click :/

WithinAmnesia commented 1 year ago

Also what is the main scene and like why do all the scenes crash when played? I have it working sorta? image It looks good but it looks to not be running quite right. What should be done here? Any ideas hey?