About 3 days ago, i started getting complains about people being unable to get out of their base and figured out, the CollisionGroups weren’t working as intended, so i spent about 6/7 hours figuring out what had caused this and i figured out that RemoveCollisionGroup isn’t working correctly anymore.
In my game every time i try to remove a collisiongroup, it doesn’t remove the collisiongroup from the list. This allows me to have duplicate collisiongroups and this messes the game completely up.
I had asked around if anyone else experienced this issue and someone told me that there were some changes made to the collisiongroups about 3 days ago.
Here’s how i did it in my game:
Step 1. Create a collisiongroup (i did it twice to show how far i could go)
Step 2. Remove the collisiongroup (i could do this infinitely because it doesn’t remove it from the list)
Step 3. Check the collisiongroups by using :GetCollisionGroups()
Step 4. Create another collision group for a duplicate group.
Step 5. Check the logs again.
id 0
mask 258049
name Default
id 1
mask 258046
name Conveyors
id 2
mask 200702
name Zone2
id 3
mask 217086
name Zone7
id 4
mask 200702
name Zone4
id 5
mask 200702
name Zone8
id 6
mask 200702
name Zone5
id 7
mask 69630
name Zone9
id 8
mask 69630
name Zone6
id 9
mask 69630
name Zone3
id 10
mask 69630
name Zone1
id 11
mask 69630
name Zone10
id 12
mask 126977
name Plane Player1
id 13
mask 126979
name Player1
id 14
mask 126987
name Plane Player2
id 15
mask 126979
name Player2
id 16
mask 131071
name rickje139
id 17
mask 131199
name rickje139
These were my results.
I did save the server to a file, so that i could check the collisiongroups in the tab. Most of the groups did not even show up!
I could not get a repro file sadly, but i can link the game.
Please ask me anything if you need more information.
I have disabled the collisiongroups in the game for now to temporarily solve the issue.
rip playerbase, they quit because they were unable to play.