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

godot headless linux build crash at library load #108

Open
GaelFG-Anderon opened this issue Oct 9, 2024 · 3 comments
Open

godot headless linux build crash at library load #108

GaelFG-Anderon opened this issue Oct 9, 2024 · 3 comments

Comments

@GaelFG-Anderon
Copy link

Wwise integration version

44a3e50

System information

Ubuntu, latest stable

Issue description

A linux build, launched in headless mode crash while loading the library binary :

image

if you remove the .so file (either in debug or release mode) the game don't crash :

image

Note : I reproduced the error with a minimal hello world godot project provided and my local wsl terminal, but i encountered the bug on a true linux server while testing an otherwise functionnal game server with a true soundbank :)

I think I used the build from commit 44a3e50 and not latest stable release (the game run on meta quest and need android support), will check tomorrow

Steps to reproduce

  • add the wwise godot integration addon in the addon folder (sample project file size limitation)
  • export for linux target,
  • run it on a true linux machine or on wsl with the headless argument
  • see the crash
    optionnal : remove libwwise.linux.template_debug.so file, relaunch with same argument, the 'game' works.

Minimal reproduction project

godot_wwise_linux_crash.zip

sorry you need to manually add wwise in the addon folder

@GaelFG-Anderon
Copy link
Author

todo :

  • test the latest stable release (but I'm no sure it support godot 4.3)
  • test with a more recent master branch build, it seems author made and upgrade of godot bindings
    I used github action artifacts to recover a fresh build in september, i will maybe try to install the building toolchain on a computer

@alessandrofama
Copy link
Owner

alessandrofama commented Jan 15, 2025

I can't reproduce the issue using the latest release: https://github.com/alessandrofama/wwise-godot-integration/releases/tag/2.0.4-Wwise2023.1-Godot4.2. It is compatible with Godot 4.3. Would you be able to upgrade and check if it works for you (please remember to back up your project or use version control)? Just replace the addons/Wwise directory with the one you downloaded.

My reproduction steps:

  • Export for the Linux target.
  • Run the exported target with the --headless argument: ./crash --headless.
  • Result: Godot prints [Wwise] Initialized Wwise systems.

You don't have to call Wwise.init() yourself, by the way. The script added by the integration to the autoloads should handle it for you.

@GaelFG-Anderon
Copy link
Author

Thanks, will try before the end of the week and post the result :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants