Property in workspace breaks player camera and movement, there's a solution

There is a bug where enabling PlayerScriptsUseInputActionSystem.
The property workspace.PlayerScriptsUseInputActionSystem = true breaks the player’s movement and camera system, it also uses a different playerModule than what has been currently used.
If the property is enabled then there are errors that say " StarterPlayer.PlayerModule:137: attempt to index nil with ‘trackBoundFunction’ - Client - PlayerModule:137".
So the solution is just make sure the property “PlayerScriptsUseInputActionsystem” is disabled or else it will break the player’s camera and movement.

Note:
This post is for anyone who might be having trouble or wondering why movement stopped working suddenly in their game, it’s a new roblox playerModule update that’s incomplete, so just make sure this property is disabled you’ll be good to go again.

Edit: This issue has now been fixed by roblox.

2 Likes

Make a copy of the PlayerModule, paste it into StarterPlayer

replace the PlayerModuleInternalType with:

type PlayerModuleInternalType = {
	__index: PlayerModuleInternalType,
	new: () -> PlayerModuleInternalType,

	-- start the camera and controls
	start: (PlayerModuleInternalType) -> (),
	-- stop the camera and controls
	stop: (PlayerModuleInternalType) -> (),

	_connectionUtil: any, -- ConnectionUtil.ConnectionUtilType legacy alias used by non-path-aware startup
	-- holds player specific data controlled by this module, not the data for all players
	data : PlayerModuleInternalData,
}

replace PlayerModuleInternal.new() with:

	function PlayerModuleInternal.new()
		local connectionUtil = ConnectionUtil.new()
		local self = setmetatable({
			_connectionUtil = connectionUtil,
			data = {
				playerData = {},
				connectionUtil = connectionUtil,
				--eventBus = EventBus.new(),
				--isServerAuthority = false
			},
		}, PlayerModuleInternal)

		if FFlagUserPSActionsPathAware then
			self.data.eventBus = EventBus.new()
			self.data.isServerAuthority = false
		end

		return self
	end

that seemed to fix it, shows up a warning instead of error that made the game unplayable with server auth game

1 Like

Experiencing this as well. Easy to fix but annoying that it exists

I said I fixed it and figured it out by turning off that property for now but thanks i might have to try this with server authority on.

Yea hopefully roblox fixes it soon.