Open unfa opened 1 year ago
I got this output when trying out (using my PR #69224):
ERROR: Couldn't find any UPNPDevices.
at: get_gateway (modules/upnp/upnp.cpp:268)
WARNING: UPnP didn't find a Gateway
at: push_warning (core/variant/variant_utility.cpp:900)
SCRIPT ERROR: Parse Error: Member "focus_previous" redefined (original in native class 'Control')
at: GDScript::reload (res://Assets/HUD/Console.gd:32)
ERROR: Node not found: "CharacterSpawner" (relative to "/root/Main/UI/Map/GameState").
at: get_node (scene/main/node.cpp:1360)
ERROR: Node not found: "CharactersRoot" (relative to "/root/Main/UI/Map/GameState").
at: get_node (scene/main/node.cpp:1360)
ERROR: The multiplayer instance isn't currently active.
at: get_unique_id (modules/enet/enet_multiplayer_peer.cpp:439)
Changing map_path to res://Assets/Maps/MapA.tscn on peer 0
ERROR: Parent node is busy setting up children, `remove_child()` failed. Consider using `remove_child.call_deferred(child)` instead.
at: remove_child (scene/main/node.cpp:1168)
ERROR: Condition "data.parent" is true.
at: ~Node (scene/main/node.cpp:2983)
@adamscott Please check project's run commandline argments - if there's --dedicated-host
there you won't be able to reproduce this. The output suggest that this is the case, because it's loading MapA which is the default.
I've bisected Liblast codebase and found the commit that has triggered this segfault: https://codeberg.org/Liblast/Liblast/issues/353
Can you still reproduce this in 4.0.3 and 4.1-beta3 or later?
@unfa So how is it looking now, with 4.1.3 or 4.2 betas? 🙃
@YuriSizov I watched the GDc (lol) talks, and I am excited to try :D At the moment I am focused on a smaller side project, but will get back in full force and test the sweat out of 4.2 stable as I suspect it'll be already there :D
Godot version
4.0 beta 6 and latest master
System information
Arch Linux
Issue description
When running the main scene of my game, it crashes on startup without giving any errors in Godot editor's debugger.
I have run the game in gdb and here's the backtrace:
Steps to reproduce
The only way to reproduce the issue I know is to basically run my game from the branch that has this problem.
Liblast/Game
.Not everything crashes the game however. For example if you run the game with
--dedicated-host
argument, it'll not load theMain.tscn
butDedicated.tscn
and this one does not crash.Minimal reproduction project
I have no idea on what is going on so I can't provide an MRP.