Closed jgillich closed 2 years ago
scene/multiplayer/scene_replication_interface.cpp:341:84: runtime error: member call on null pointer of type 'struct SceneReplicationConfig'
scene/multiplayer/scene_replication_interface.cpp:341:84: runtime error: member access within null pointer of type 'struct SceneReplicationConfig'
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.alpha.custom_build (1baee2189c21ae36c852ddff10f769b1134509ca)
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] godot4s() [0x243f6d8] (/home/runner/work/GodotBuilds/GodotBuilds/godot/platform/linuxbsd/crash_handler_linuxbsd.cpp:56)
[2] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7fb11a6e0520] (??:0)
[3] SceneReplicationInterface::_send_sync(int, unsigned long) (/home/runner/work/GodotBuilds/GodotBuilds/godot/scene/multiplayer/scene_replication_interface.cpp:341 (discriminator 1))
[4] SceneReplicationInterface::on_network_process() (/home/runner/work/GodotBuilds/GodotBuilds/godot/scene/multiplayer/scene_replication_interface.cpp:88 (discriminator 8))
[5] MultiplayerAPI::poll() (/home/runner/work/GodotBuilds/GodotBuilds/godot/core/multiplayer/multiplayer_api.cpp:88)
[6] SceneTree::process(double) (/home/runner/work/GodotBuilds/GodotBuilds/godot/scene/main/scene_tree.cpp:441)
[7] Main::iteration() (/home/runner/work/GodotBuilds/GodotBuilds/godot/main/main.cpp:2735)
[8] OS_LinuxBSD::run() (/home/runner/work/GodotBuilds/GodotBuilds/godot/platform/linuxbsd/os_linuxbsd.cpp:441)
[9] godot4s(main+0x496) [0x243cd7c] (/home/runner/work/GodotBuilds/GodotBuilds/godot/platform/linuxbsd/godot_linuxbsd.cpp:70)
[10] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7fb11a6c7d90] (??:0)
[11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7fb11a6c7e40] (??:0)
[12] godot4s(_start+0x2e) [0x243c82e] (??:?)
-- END OF BACKTRACE --
================================================================
I had the same issue before, But if you assign a new SceneReplicationConfig to the MultiplayerSynchonizor in the inspector. This solved the issue for me.
Godot version
eaffb88558b6ef2a4c20ad7d1da94e3d1d4c0f4a
System information
Fedora Silverblue 36, Ryzen 2400G
Issue description
When running the bomber example, the server instance crashes after starting the game. The lobby itself works fine so basic communications works. This problem does not exist with alpha8.
I have the same issue in my project, and removing
MultiplayerSynchronizer
makes it go away.Steps to reproduce
Minimal reproduction project
No response