[Bug/Crash]: Error when exporting project #20

Closed
opened 2023-05-14 18:39:35 +00:00 by Koanyaku · 10 comments
Koanyaku commented 2023-05-14 18:39:35 +00:00 (Migrated from github.com)

What happened?

When exporting the project for the first time after loading into it, Godot gives an error message. After the first time this happens, it doesn't happen again when exporting until the project is reloaded. The exported game works fine.

I only tested this with the default Windows Desktop and Linux/X11 export presets, but it's possible that it happens with the rest of the presets as well.

Also tell us, what did you expect to happen?

I expected to not get any errors when exporting.

Version

1.5

Godot Version

v4.0.2.stable.official [7a0977ce2]

GDScript

# main scene file

func _ready():
	Discord_Activity.app_id = <my id>
	print("is discord working: " + str(Discord_Activity.get_is_discord_working()))
	Discord_Activity.details = "asdf"
	Discord_Activity.start_timestamp = int(Time.get_unix_time_from_system())
	Discord_Activity.refresh()

Godot output

editor/export/editor_export_plugin.h:125 - Required virtual method EditorExportPlugin::_get_name must be overridden before calling.

Additional information

No response

Checks

  • I tried reinstalling the addon or tried to fix it myself with other methods.
### What happened? When exporting the project for the first time after loading into it, Godot gives an error message. After the first time this happens, it doesn't happen again when exporting until the project is reloaded. The exported game works fine. I only tested this with the default Windows Desktop and Linux/X11 export presets, but it's possible that it happens with the rest of the presets as well. ### Also tell us, what did you expect to happen? I expected to not get any errors when exporting. ### Version 1.5 ### Godot Version v4.0.2.stable.official [7a0977ce2] ### GDScript ```gdscript # main scene file func _ready(): Discord_Activity.app_id = <my id> print("is discord working: " + str(Discord_Activity.get_is_discord_working())) Discord_Activity.details = "asdf" Discord_Activity.start_timestamp = int(Time.get_unix_time_from_system()) Discord_Activity.refresh() ``` ### Godot output ```shell editor/export/editor_export_plugin.h:125 - Required virtual method EditorExportPlugin::_get_name must be overridden before calling. ``` ### Additional information _No response_ ### Checks - [X] I tried reinstalling the addon or tried to fix it myself with other methods.

just a error message nothing else right?

just a error message nothing else right?
Koanyaku commented 2023-05-15 09:37:37 +00:00 (Migrated from github.com)

yes

yes

The weird thing is this is a normal godot function that should just work but i'll try to fix it in 2.0

The weird thing is this is a normal godot function that should just work but i'll try to fix it in 2.0

fixed in #21

fixed in #21

Is in fact not fixed sorry but i found out the message only appears first time exporting

Is in fact not fixed sorry but i found out the message only appears first time exporting
Koanyaku commented 2023-05-16 09:59:04 +00:00 (Migrated from github.com)

but i found out the message only appears first time exporting

Didn't I already state that in the issue?

> but i found out the message only appears first time exporting Didn't I already state that in the issue?

Didn't see that

Didn't see that

Okay this is a common issue in godot and it got fixed like 3 times but is still there I'll look a minute further and if i cant find it I'll mark as wont fix

Okay this is a common issue in godot and it got fixed like 3 times but is still there I'll look a minute further and if i cant find it I'll mark as `wont fix`
Koanyaku commented 2023-05-16 15:38:15 +00:00 (Migrated from github.com)

Ok. I mean if it doesn't break the whole addon and is just an annoying message it's fine.

Ok. I mean if it doesn't break the whole addon and is just an annoying message it's fine.

when 2.0 releases let me know if it worked for you but for me its working

when 2.0 releases let me know if it worked for you but for me its working
Sign in to join this conversation.
No description provided.