When testing a character AI pathfinding system in Roblox Studio, the NPC character falls into the void when I run the simulation locally. This issue doesn’t occur for a collaborator who runs the same place file on their computer.
I have attempted several troubleshooting steps, including:
Completely uninstalling and reinstalling Roblox Studio
Temporarily disabling all user plugins via the terminal
Reviewing and refining the pathfinding script
Adjusting NetworkOwnership for the NPC
Despite these steps, the issue still happens every time I test the game locally in Studio. The NPC falls immediately when the test session starts. Since the same place file works correctly when tested by another developer, it appears the issue may be related to my Studio environment or a Studio simulation bug.
Reproduction Steps
Open the place file in Roblox Studio.
Ensure the NPC with the pathfinding script is present in the workspace.
Click Test → Run (or Test).
Observe the NPC behavior when the simulation starts.
Expected Behavior
The NPC should remain on the map and execute the pathfinding system normally, navigating the environment instead of falling into the void.
Hi, thanks for posting! Can you please send a minimal repro file (.rbxl) that illustrates the issue? You mention that you have a number of beta features enabled, have you tried disabling them sequentially to determine which beta feature might be the culprit?
Heya @eronaught! How are you? Hopefully, you’re doing well!!
I can definitely send a minimal repro file (.rbxl) via PM so you can understand the issue!
Regarding the beta features, I haven’t tried disabling them sequentially yet. Since quite a few are enabled, I assumed going through them one by one might take a while, so I wanted to check first if the repro file would already help narrow things down.
If needed, I can also start testing by disabling the beta features gradually to see if any of them are causing the behavior!
To fix it, I just changed it to something else (StudioSelectable) and then changed it back to Default, which made the error go away. I’m unsure how the CollisionGroup data got corrupted, but the NPC moved correctly after doing that. Let me know if that works for you.
My other developer friend and I did a quick test trying to reproduce the fix that you shared, and it worked! We were trying to figure this out for weeks, and it all ended up being not successful… However, with your advice, it absolutely worked, and we cannot say anything besides thanking you a lot!!
We’ll keep this in mind for future development for any characters, and if I find another bug, I’ll be sure to report it here. Thank you so much, @eronaught !
This part was actually done by my friend as I was helping with the map. It’s likely that he used the normal feature called “Import 3D” after Roblox Studio Next Gen UI got fully implemented… The model originates from a website that you can download it and pretty much!
We tried and solve the problem by asking the Assistant and other tools and we were told that it was related to Mass, NetworkOwnership, but nothing regarding CollisionGroup (to be honest, this was prolly the odd bug we’ve encountered)