Arnklit / Waterways

A tool to generate river meshes with flow and foam maps based on bezier curves.
https://github.com/Arnklit/WaterGenGodotDemo
MIT License
1.05k stars 72 forks source link

Unable to enable this Addon in "Godot v4.2.2". #26

Closed vishalbandre closed 6 months ago

vishalbandre commented 6 months ago

Describe the bug This addon is not working in "Godot v4.2.2".

Unable to enable "Waterways" addon. Getting error at Project -> Project Settings -> Plugins -> Waterways.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Project -> Project Settings -> Plugins'
  2. Click on 'Enable' for this addons' status.
  3. See error Error: "Unable to load addon script from path: 'res://addons/waterways/plugin.gd'. This might be due to a code error in that script. Disabling the addon at 'res://addons/waterways/plugin.cfg' to prevent further errors."

Console Dump: " res://addons/waterways/plugin.gd:3 - Parse Error: Unexpected "Identifier" in class body. modules/gdscript/gdscript.cpp:2726 - Failed to load script "res://addons/waterways/plugin.gd" with error "Parse error". (User)"

Expected behavior Enable addon without any error.

Screenshots Screenshot from 2024-04-20 09-39-32

Environment

TokisanGames commented 6 months ago

The main branch of the plugin isn't compatible with any Godot 4 version. You can try the 4.0 branch and look through the issues for patches that will get it working.

vishalbandre commented 6 months ago

Thanks for the update. v4 branch works well with Godot v4.2.2.