Open akien-mga opened 2 years ago
There's a difference between 3.x
and master
in CollisionPolygonShape3D::get_faces
, where in master
it's now getting a member variable, instead of calling into PhysicsServer3D
.
So this might have been fixed in master
as a consequence of 7bbd5454329.
I have the same Err when i compiled godot with this command :
scons p=x11 target=release_debug tools=yes module_mono_enabled=yes disable_3d=no module_arkit_enabled=no module_bmp_enabled=no module_bullet_enabled=no module_camera_enabled=no module_enet_enabled=no module_mobile_vr_enabled=no module_upnp_enabled=no module_visual_script_enabled=no module_gdscript_enabled=yes
I disabled gdscript since i only want to use C# maybe GDnative. will these errors effect my final project with C# ?, i wanted to reduce the final game's size as much as possible, but if it's going to cause problems then i'll just use the normal build.
ERROR: Mono: Core API hash mismatch.
at: _init_godot_api_hashes (modules/mono/mono_gd/gd_mono.cpp:490)
Mono: Log file is: '/home/haxeil/.local/share/godot/mono/mono_logs/2022-02-03_15.23.21_1281.log'
ERROR: Condition "!shape->is_configured()" is true. Returned: Variant()
at: shape_get_data (servers/physics/physics_server_sw.cpp:111)
ERROR: Condition "!p_rid.is_valid()" is true. Returned: nullptr
at: get (./core/rid.h:139)
ERROR: Condition "!body" is true.
at: body_attach_object_instance_id (servers/physics/physics_server_sw.cpp:608)
ERROR: Invalid ID.
at: free (servers/physics/physics_server_sw.cpp:1278)
will these errors effect my final project with C# ?, i wanted to reduce the final game's size as much as possible, but if it's going to cause problems then i'll just use the normal build.
Run your project and see if physics still work correctly :slightly_smiling_face:
That said, disabling the GDScript module won't decrease binary size by much. Using optimize=size
will generally decrease binary size more than disabling any module will.
yes everything works fine i had no problems. i forgot to add optimize=size :)
I have the exact same error with v3.5.1.stable.official [6fed1ffa3] and thought first it's an issue with my project
Godot version
3.4.stable, 3.x (d3659ee0a)
System information
Linux, Mageia 9 x86_64
Issue description
Similar to #32216, there's still one case which is still reproducible in
3.x
:A backtrace points at
PhysicsServerSW::shape_get_data
called byConcavePolygonShape::get_faces
:Like #32216, this is probably triggered by the EditorHelp generation code. The error happens when opening the editor, and not when running a project.
Adding a
CollisionShape
withConcavePolygonShape
in a scene also triggers this error:This also happens when disabling Bullet with
module_bullet_enabled=yes
, since it falls back to GodotPhysics when still usingDEFAULT
as 3D physics backend.Steps to reproduce
Minimal reproduction project
TestGodotPhysics.zip