Zylann / godot_heightmap_plugin

HeightMap terrain for Godot implemented in GDScript
Other
1.77k stars 160 forks source link

Heightmap_plugin doesn't render terrain in Godot 3.5.3.x #426

Open DuRk2959 opened 9 months ago

DuRk2959 commented 9 months ago

Describe the bug The terrain does not appear in the viewport, but I can still manipulate it using the Terrain Editor. I am using the "Heightmap Plugin" addon with Godot 3.5.3.x on Windows 10. Error messages: --- GDScript language server started --- Añadir AutoLoad Cambiar Pestaña de Escena Can't open dynamic library: /addons/zylann.hterrain/native/bin/win64/hterrain_native.dll, error: Error 126: The specified module could not be found.

modules/gdnative/gdnative.cpp:510 - No valid library handle, can't get symbol from GDNative object modules/gdnative/nativescript/nativescript.cpp:1503 - No nativescript_init in "res://addons/zylann.hterrain/native/bin/win64/hterrain_native.dll" found res://addons/zylann.hterrain/native/factory.gd:42 - Attempt to call function 'new' in base 'NativeScript' on a null instance.

To Reproduce Steps to reproduce the behavior:

  1. Import the Addon
  2. Enable the addon
  3. Assign the terrain Data folder
  4. Observe the error message in the Output panel and the invisible terrain in the viewport

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Zylann commented 9 months ago

I am no longer working on the Godot 3 version of this plugin. I stopped when Godot was only at version 3.3. You may use Godot 4 instead.

Can't open dynamic library: /addons/zylann.hterrain/native/bin/win64/hterrain_native.dll, error: Error 126: The specified module could not be found.

Assuming this is the issue, try disabling GDNative support by modifying the script addons/zylann.hterrain/native/factory.gd:

const _supported_os = {
# Comment out all entries
#   "Windows": true,
#   "X11": true,
#   "OSX": true
}

If that doesn't fix it, try restarting the editor. Otherwise, I don't know.

DuRk2959 commented 9 months ago

I am no longer working on the Godot 3 version of this plugin. I stopped when Godot was only at version 3.3. You may use Godot 4 instead.

Can't open dynamic library: /addons/zylann.hterrain/native/bin/win64/hterrain_native.dll, error: Error 126: The specified module could not be found.

Assuming this is the issue, try disabling GDNative support by modifying the script addons/zylann.hterrain/native/factory.gd:

const _supported_os = {
# Comment out all entries
# "Windows": true,
# "X11": true,
# "OSX": true
}

If that doesn't fix it, try restarting the editor. Otherwise, I don't know.

Thank you, the problem is fixed