OK, managed to resolve the issue - it seems that something went wrong during the upgrade our devs did and it ended up in in our repo. While it was working on their PCs, it didn't work on mine. So, I removed everything related to the plugin, then re-installed it without having previous version, restarted Godot and now it works. Might help someone else as well.
DayWalker72
Recent community posts
Hi,
I bought and used AssetPlacer in Godot 4.6 for a couple of months now and today I installed the new v1.5 version (first one in GDscript). Whenver I start Godot, I get ever-increaing number o errr message in the log:
Godot Engine v4.6.2.stable.mono.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started on port 6006 ---
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:6 - Parse Error: Preload file "res://addons/assetplacer/data_formats/plugin_data.gd" does not exist.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:7 - Parse Error: Preload file "res://addons/assetplacer/data_formats/scene_data.gd" does not exist.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:31 - Parse Error: "PluginData" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:47 - Parse Error: Cannot infer the type of "old_value_exists" variable because the value doesn't have a set type.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:133 - Parse Error: Cannot infer the type of "scene_data" variable because the value doesn't have a set type.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:134 - Parse Error: Cannot infer the type of "old_value_exists" variable because the value doesn't have a set type.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:150 - Parse Error: "PluginData" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/assetplacer_persistence.gd:175 - Parse Error: Cannot infer the type of "show" variable because the value doesn't have a set type.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:9 - Parse Error: Preload file "res://addons/assetplacer/data_formats/node_3d_list.gd" does not exist.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:568 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:576 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:445 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:445 - Parse Error: Could not resolve external class member "end_drag".
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_controller.gd:447 - Parse Error: Cannot infer the type of "count" variable because the value doesn't have a set type.
ERROR: res://addons/assetplacer/assetplacer_plugin.gd:0 - Compile Error: Failed to compile depended scripts.
ERROR: modules/gdscript/gdscript.cpp:2907 - Failed to load script "res://addons/assetplacer/assetplacer_plugin.gd" with error "Compilation failed".
ERROR: res://addons/assetplacer/assetplacer_plugin.gd:101 - Invalid call. Nonexistent function 'initialize' in base 'GDScript'.
ERROR: (6) res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
--- GDScript language server started on port 6005 ---
ERROR: (10) res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/paint.gd:4 - Parse Error: Could not resolve class "res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd".
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/paint.gd:55 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/paint.gd:56 - Parse Error: Cannot infer the type of "placed_nodelist" variable because the value doesn't have a set type.
ERROR: modules/gdscript/gdscript.cpp:2907 - Failed to load script "res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/paint.gd" with error "Parse error".
ERROR: res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/place_and_rotate.gd:4 - Parse Error: Could not resolve class "res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd".
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/place_and_rotate.gd:46 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: modules/gdscript/gdscript.cpp:2907 - Failed to load script "res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/place_and_rotate.gd" with error "Parse error".
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd:5 - Parse Error: Preload file "res://addons/assetplacer/data_formats/node_3d_list.gd" does not exist.
ERROR: res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd:30 - Parse Error: "Node3DList" is a constant but does not contain a type.
ERROR: modules/gdscript/gdscript.cpp:2907 - Failed to load script "res://addons/assetplacer/viewport_3d_controllers/placement_controller/placement_strategy/strategy.gd" with error "Parse error".
ERROR: (435) res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
ERROR: res://addons/assetplacer/assetplacer_plugin.gd:148 - Invalid call. Nonexistent function 'save_plugin_data' in base 'GDScript'.
ERROR: (38) res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
ERROR: res://addons/assetplacer/assetplacer_plugin.gd:148 - Invalid call. Nonexistent function 'save_plugin_data' in base 'GDScript'.
ERROR: (1721) res://addons/assetplacer/assetplacer_plugin.gd:201 - Invalid call. Nonexistent function 'process' in base 'Nil'.
... and the last message (1721) goes on, and on , and on ...
My environment:
Godot 4.6.2 .NET version
Fedora Linux 43
AMD Ryzen 5800H, Nvidia RTX 3060
I tried, deleting the plugin folder and re-installing, deleting the whole project folder and pulling from the git and re-installing - nothing helped.
I also tried it on Windows 11 machine with the same result.
Any ideas what to do?