Zylann/godot_heightmap_plugin

Error after deleting plugin

Closed this issue · 1 comments

Describe the bug
I installed the plugin didn't use it and didn't activate it in plugins tab, deleted it from the addons folder. After starting the game, the scene has no nodes associated with the plugin, but there is an error.

To Reproduce
Steps to reproduce the behavior:

  1. Install plugin
  2. Don't activate it and don't use it
  3. Delete addon folder from "addons" folder

Errors after deleting plugin
Erros that I have when running any scene:

E 0:00:01:0477 load_source_code: Attempt to open script 'res://addons/zylann.hterrain/hterrain_resource_loader.gd' resulted in error 'File not found'.
<C++ Error> Condition "err" is true. Returning: err
<C++ Source> modules/gdscript/gdscript.cpp:1025 @ load_source_code()

E 0:00:01:0477 _load: Failed loading resource: res://addons/zylann.hterrain/hterrain_resource_loader.gd. Make sure resources have been imported by opening the project in the editor at least once.
<C++ Error> Condition "found" is true. Returning: Ref()
<C++ Source> core/io/resource_loader.cpp:274 @ _load()

E 0:00:01:0477 add_custom_resource_format_loader: Condition "res.is_null()" is true. Returning: false
<C++ Source> core/io/resource_loader.cpp:1110 @ add_custom_resource_format_loader()

Environment

  • OS: 11
  • Godot version: v4.2.2.stable.official [15073afe3]
  • Plugin version (or commit hash if you got it from Github directly): latest

Close the project
Go to your project directory
Delete (or move somewhere) your .godot folder
Open again, and Godot Engine will reimport and reindex everything