addmix / godot_aerodynamic_physics

MIT License
84 stars 4 forks source link

Plugin doesn't load properly #19

Closed CammiePone closed 8 months ago

CammiePone commented 8 months ago

I'm currently running on Godot 4.3 rc4 and for whatever reason, the plugin won't load properly, instead just spewing a bunch of errors. I downloaded it directly from the Asset Library in-engine to my existing project, so I'm not entirely sure what happened.

Godot Engine v4.3.dev4.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
--- Debug adapter server started ---
--- GDScript language server started on port 6005 ---
Detach Script
  Node not found: "" (relative to "/root/@EditorNode@16670/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@46/@VBoxContainer@47/@PanelContainer@92/MainScreen/@CanvasItemEditor@9208/@VSplitContainer@9030/@HSplitContainer@9032/@HSplitContainer@9034/@Control@9035/@SubViewportContainer@9036/@SubViewport@9037/Airplane/AnimationPlayer").
  Node not found: "" (relative to "/root/@EditorNode@16670/@Panel@13/@VBoxContainer@14/DockHSplitLeftL/DockHSplitLeftR/DockHSplitMain/@VBoxContainer@25/DockVSplitCenter/@VSplitContainer@46/@VBoxContainer@47/@PanelContainer@92/MainScreen/@CanvasItemEditor@9208/@VSplitContainer@9030/@HSplitContainer@9032/@HSplitContainer@9034/@Control@9035/@SubViewportContainer@9036/@SubViewport@9037/Airplane/AnimationPlayer").
Remove Node(s)
  res://godot_aerodynamic_physics/core/aero_body_3d.gd:222 - Parse Error: Identifier "AeroUnits" not declared in the current scope.
  res://godot_aerodynamic_physics/core/aero_body_3d.gd:223 - Parse Error: Identifier "AeroUnits" not declared in the current scope.
  res://godot_aerodynamic_physics/core/aero_body_3d.gd:224 - Parse Error: Identifier "AeroUnits" not declared in the current scope.
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_body_3d.gd" with error "Parse error". (User)
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_cyclic_propeller_3d.gd:0 - Parse Error: Could not resolve class "AeroVariablePropeller3D".
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_cyclic_propeller_3d.gd" with error "Parse error". (User)
  Cannot get class 'AeroVariablePropeller3D'.
  editor/create_dialog.cpp:271 - Condition "inherits.is_empty()" is true.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_variable_propeller_3d.gd:0 - Parse Error: Could not resolve class "AeroPropeller3D".
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_variable_propeller_3d.gd" with error "Parse error". (User)
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_propeller_3d.gd:0 - Parse Error: Could not resolve class "AeroRotator3D".
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_propeller_3d.gd" with error "Parse error". (User)
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_rotator_3d.gd:0 - Parse Error: Could not resolve class "AeroInfluencer3D".
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_rotator_3d/aero_rotator_3d.gd" with error "Parse error". (User)
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_influencer_3d.gd:71 - Parse Error: Identifier "AeroUnits" not declared in the current scope.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_influencer_3d.gd:72 - Parse Error: Identifier "AeroUnits" not declared in the current scope.
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_influencer_3d.gd" with error "Parse error". (User)
  Cannot get class 'AeroRotator3D'.
  editor/create_dialog.cpp:271 - Condition "inherits.is_empty()" is true.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd:32 - Parse Error: Could not find type "Vector3D" in the current scope.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd:33 - Parse Error: Could not find type "Vector3D" in the current scope.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd:0 - Parse Error: Could not resolve class "AeroInfluencer3D".
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd:38 - Parse Error: Identifier "Vector3D" not declared in the current scope.
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd:43 - Parse Error: Identifier "Vector3D" not declared in the current scope.
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/aero_surface_3d.gd" with error "Parse error". (User)
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/manual_aero_surface_3d/manual_aero_surface_3d.gd:0 - Parse Error: Could not resolve class "AeroSurface3D".
  res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/manual_aero_surface_3d/manual_aero_surface_3d.gd:0 - Parse Error: Could not resolve class "AeroSurface3D".
  modules/gdscript/gdscript.cpp:2824 - Failed to load script "res://godot_aerodynamic_physics/core/aero_influencer_3d/aero_surface_3d/manual_aero_surface_3d/manual_aero_surface_3d.gd" with error "Parse error". (User)
  Cannot get class ''.
  editor/editor_data.cpp:587 - Parameter "p_object" is null.
  editor/scene_tree_dock.cpp:2676 - Condition "!c" is true.
CammiePone commented 8 months ago

so i had to go in and manually edit some classes, but im also noticing that there's no visual indicator of the aerosurfaces in the engine? im currently just guessing based on how the model conforms to the grid at the moment, and im not sure if it's because im on a release candidate or not

addmix commented 8 months ago

That's 100% my bad. I changed around a few things, and accidentally referenced a node/class from an external library. I've pushed a new release here on github, and submitted an update version on the Godot Asset Library, pending review.

Closed by: https://github.com/addmix/godot_aerodynamic_physics/commit/dfb9c154c283d1452db780bb502e5ff253e9ae72

addmix commented 8 months ago

Also, I added an extra install instruction for the asset library version.

Ensure that addon files are installed inside res://addons/godot_aerodynamic_physics

CammiePone commented 8 months ago

awesome, thank you!