Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

License Manager crashes project when exported in release mode #16

Closed
zibetnu opened this issue Oct 23, 2024 · 0 comments · Fixed by #17
Closed

License Manager crashes project when exported in release mode #16

zibetnu opened this issue Oct 23, 2024 · 0 comments · Fixed by #17
Labels
add:licenses license manager addon cat:bug bug/error/mistake which limits the program

Comments

@zibetnu
Copy link
Contributor

zibetnu commented Oct 23, 2024

When running a project exported in release mode, License Manager will cause a crash if the licenses json has anything in it.

Godot Engine v4.3.stable.official.77dcf97d8 - https://godotengine.org
Vulkan 1.3.277 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3060 Ti

SCRIPT ERROR: Parse Error: Cannot find member "new" in base "License".
          at: GDScript::reload (res://addons/licenses/component.gd:109)
SCRIPT ERROR: Parse Error: Cannot find member "new" in base "License".
          at: GDScript::reload (res://addons/licenses/component.gd:109)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://addons/licenses/licenses.gd:-1)
SCRIPT ERROR: Parse Error: Cannot find member "new" in base "License".
          at: GDScript::reload (res://addons/licenses/component.gd:109)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://examples/licenses/license_container.gd:-1)
SCRIPT ERROR: Compile Error: 
          at: GDScript::reload (res://examples/licenses/license_selector.gd:-1)
ERROR: Failed to load script "res://examples/licenses/license_selector.gd" with error "Compilation failed".
   at: load (modules/gdscript/gdscript.cpp:2936)
Segmentation fault (core dumped)

This appears to be the same issue discussed here: godotengine/godot#80526.

Example project:
licenses-crash-4-3.zip

@IceflowRE IceflowRE added cat:bug bug/error/mistake which limits the program add:licenses license manager addon labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add:licenses license manager addon cat:bug bug/error/mistake which limits the program
Development

Successfully merging a pull request may close this issue.

2 participants