QodotPlugin / qodot-plugin

(LEGACY) Quake .map support for Godot 3.x
MIT License
960 stars 70 forks source link

Invalid call. Nonexistent function 'build_def_text' in base 'Resource (QodotFGDSolidClass)' #173

Open VincentHill opened 1 year ago

VincentHill commented 1 year ago

When I try to export the FGD or create the Game Folder I get this error: res://addons/qodot/src/resources/game-definitions/fgd/qodot_fgd_file.gd:52 - Invalid call. Nonexistent function 'build_def_text' in base 'Resource (QodotFGDSolidClass)'. I tried a new project with just the addon and it still gives me the error. here is that project. QodotTest.zip

I using linux and my Godot is version: v4.0.stable.mono.official [92bee43ad]

JustADataConstruct commented 1 year ago

Having the same problem on Windows with Godot 4.0.3.stable.mono.official[5222a99f5] and the latest Qodot release.

VincentHill commented 1 year ago

@JustADataConstruct this is the repo for the godot 3.4 version the godot 4 repo is here https://github.com/QodotPlugin/Qodot I made an issue on that repo: https://github.com/QodotPlugin/Qodot/issues/42

ok so I have found a sort of fix where I can export the FGD file. if I close the project then delete the .godot folder in the project directory then load back into the project I can export the FGD without issue but if I close the project and open it again it shows the error. So I have a feeling this might be a godot issue, not sure.

@JustADataConstruct I don't know where the related .godot folder is on windows but it should be found where your mono builds go

for what its worth I get these warning errors after I delete the folder:

Unable to open file: res://.godot/imported/icon_qodot_node3d.svg-34e38a00186815329c3590ab244948d7.ctex.
Failed loading resource: res://.godot/imported/icon_qodot_node3d.svg-34e38a00186815329c3590ab244948d7.ctex. Make sure resources have been imported by opening the project in the editor at least once.
Failed loading resource: res://addons/qodot/icons/icon_qodot_node3d.svg. Make sure resources have been imported by opening the project in the editor at least once.
res://addons/qodot/src/qodot_plugin.gd:5 - Parse Error: Could not find type "QuakeMapImportPlugin" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:6 - Parse Error: Could not find type "QuakePaletteImportPlugin" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:224 - Parse Error: Could not find type "QodotMap" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:17 - Parse Error: Could not find type "QodotMap" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:33 - Parse Error: Identifier "QodotUtil" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:33 - Parse Error: Cannot infer the type of "csharp_support" variable because the value doesn't have a set type.
res://addons/qodot/src/qodot_plugin.gd:38 - Parse Error: Identifier "QuakeMapImportPlugin" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:39 - Parse Error: Identifier "QuakePaletteImportPlugin" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:58 - Parse Error: Could not resolve script "res://addons/qodot/src/nodes/qodot_map.gd".
res://addons/qodot/src/qodot_plugin.gd:59 - Parse Error: Could not resolve script "res://addons/qodot/src/nodes/qodot_entity.gd".
res://addons/qodot/src/qodot_plugin.gd:87 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:87 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:88 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:88 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:89 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:89 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:90 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:90 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:91 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:91 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:92 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:92 - Parse Error: Identifier "QodotTextureLoader" not declared in the current scope.
res://addons/qodot/src/qodot_plugin.gd:116 - Parse Error: Could not preload resource file "res://addons/qodot/icons/icon_qodot_node3d.svg".
res://addons/qodot/src/qodot_plugin.gd:164 - Parse Error: Could not find type "QodotMap" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:180 - Parse Error: Could not find type "QodotMap" in the current scope.
res://addons/qodot/src/qodot_plugin.gd:200 - Parse Error: Could not find type "QodotMap" in the current scope.
Cannot open file 'res://.godot/imported/carried-by-the-wind.mp3-22d0deb032bcc6fc4b13105af437f814.mp3str'.
Cannot open file 'res://.godot/imported/AwareBold-qZo3x.ttf-34fb17cdcad7d1d0092bdb6b2fab7401.fontdata'.
Cannot open file 'res://.godot/imported/OpenSans-Regular.ttf-57bbaa7202ea861f550a1398476fe91b.fontdata'.
res://addons/qodot/src/qodot_plugin.gd:41 - Invalid call. Nonexistent function 'new' in base 'CSharpScript'.

and I get this error when I load back in

res://addons/qodot/src/qodot_plugin.gd:41 - Invalid call. Nonexistent function 'new' in base 'CSharpScript'.