-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collision detection broken after Linux/MacOS dedicated server export #410
Comments
If this happens in addition to it working fine in non-exported game, then I'm not sure what the terrain/plugin would have to do with it 🤔 I have no idea, sorry. There is no special logic in the plugin that would make it behave differently in server exports, but even if it did, the ball working and the character not working still makes no sense. Is your issue happening server-side? Or is your physics client side? Did you export your server headless (no window/graphics)? Do you have any way of testing if this works if your simulation is exported NOT as a server? If you export as DEBUG server and file logging, do you get errors? |
My suspicion is that Godot behaves in a certain way in headless that makes the plugin fail to setup something, but you saw no error (even with file logging AND debug enabled?) so it's hard to even understand what's going on... |
Ok, I guess I can play around with it more. Yea, I'm not seeing any errors in the output file for the server build or in the client's debug tabs. Maybe there's a race condition? |
|
|
I tried doing a server export of a test scene, and I checked EVERYTHING as |
I posted an issue on Godot's repo godotengine/godot#85101 |
I ran the export with a full project build and the server does print Thank you for looking into this and reporting the bug to Godot, because I wasn't sure where else to go with it!!! I guess we'll see... |
Describe the bug
I created a very simple map with some height adjustments. The player successfully walks on the ground when working in the editor, but when I export for Linux or Mac, the player (CharacterBody3D) falls through.
This is a multiplayer setup. My level is spawned into the Tree and then the player(s) are spawned into the level. They both have Collision layers set to 1.
However, I also created a test Sphere RigidBody3D but this is NOT spawned, it is statically placed in the world, but when it falls down when the level loads, it IS stopped by the terrain. So not sure why the ball is stopped but the player isn't when they "drop in" to the level.
I even once added another plane under the Terrain to see if that would collide and support the player, and it does, see last screenshot.
If anyone has any ideas or something they'd like me to experiment or test with, please let me know.
Thanks!
Environment
Player:
Test Ball:
Terrain Settings:
Terrain:
.
Test Plane collider under Terrain:
The text was updated successfully, but these errors were encountered: