appsinacup / godot-rapier-physics

Godot Rapier Physics – A 2D and 3D drop-in replacement for the Godot engine that adds stability and fluids.
https://godot.rapier.rs
MIT License
325 stars 16 forks source link

Area2D does not detect overlaps in web builds #225

Open JonathanKohlhas opened 2 weeks ago

JonathanKohlhas commented 2 weeks ago

Describe the bug

All instances of Area2D fail to detect any overlaps and enter/exit events when running in Web.

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Overlap should always be detected

Environment:

Example project(zip)

Example Project is without Rapier2D otherwise the zip is too big new-game-project.zip

Ughuuu commented 2 weeks ago

Strange that this only occurs on the web. I'll give it a try see if it happens for me too.

Ughuuu commented 2 weeks ago

My guess is that it's possible the godot-rust plugin doesn't register the plugin at the right time? Or something else is wrong with events/callables? I'll need to check more in depth, add more logs, etc. But it is a very weird bug indeed.