zaevi / godot-filesystem-view

FileSystemView is a Godot plugin that uses custom filters to handle your resources.
MIT License
112 stars 5 forks source link

Error and bugs after Godot 4.2 update #4

Open FootClanSoldier opened 11 months ago

FootClanSoldier commented 11 months ago

After updating to Godot 4.2 this plugin seems to have some bugs, most likely because of changed API.

I can no longer right click on files in the View and get this error message:

res://addons/FileSystemView/FileSystemView.Popup.gd:75 - Cannot call method 'get_file_type' on a null value. res://addons/FileSystemView/plugin.gd:85 - Cannot call method 'get_root' on a null value.

When I load my project I instantly get these messages: (The first message might not be related to this plugin)

modules/gdscript/gdscript_vm.cpp:1319 - Condition ' !nc ' is true. Breaking..:

res://addons/FileSystemView/FileSystemView.Popup.gd:48 - Internal script error! Opcode: 25 (please report).

zaevi commented 11 months ago

Thanks for your report!

Yes, there have been break changes since 4.2. I ported this plugin to 4.2 several weeks ago, but there is still some work I need to do before publishing it.

So, you can use the latest commit for now. I will keep this issue open until a new version is released.