godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.56k stars 20.28k forks source link

game crashes on android (not sure on ios) but not from simulator on mac #92319

Open maurosorrentino opened 4 months ago

maurosorrentino commented 4 months ago

Tested versions

4.2.1, 4.2.2 .NET

System information

macOS Sonoma version 14.3, M1 chip macbook pro 14inch from 2021

Issue description

game crashes when I click on play button, not sure exactly where but this is what happens when I click play:

everything is build with c#, SIPSorcery for WebRTC and WebSocketSharp

it works fine on mac (simulator) but not on android, android studio tells me the following

USER ERROR: BUG: Unreferenced static string to 0: Physics2DConstraintSolveIslands 2024-05-24 14:16:41.914 11348-11389 godot org.godotengine.yetis
E at: unref (core/string/string_name.cpp:127) 2024-05-24 14:16:41.914 11348-11389 godot org.godotengine.yetis
E USER ERROR: BUG: Unreferenced static string to 0: Physics2DConstraintSetup 2024-05-24 14:16:41.914 11348-11389 godot org.godotengine.yetis
E at: unref (core/string/string_name.cpp:127) 2024-05-24 14:16:41.916 11348-11389 libc org.godotengine.yetis A FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x77cb3fd864)

Steps to reproduce

N/A

Minimal reproduction project (MRP)

N/A

maurosorrentino commented 4 months ago

I'm not even using Physics2DConstraintSolveIslands, I'm stuck since a few days. I think it's a bug in the engine, can somebody please confirm?

RealMadvicius commented 2 months ago

Looks related to #93268