ContextActionService causing errors on mobile after recent update

A bug causes TouchButton’s to not appear on mobile devices after a player resets.

The error:
“20:59:04.368 - The Parent property of ContextActionGui is locked, current parent: NULL, new parent PlayerGui
20:59:04.369 - Stack Begin
20:59:04.369 - Script ‘CoreGui.RobloxGui.CoreScripts/ContextActionTouch’, Line 199 - global createButton
20:59:04.370 - Script ‘CoreGui.RobloxGui.CoreScripts/ContextActionTouch’, Line 234 - global addAction
20:59:04.371 - Script ‘CoreGui.RobloxGui.CoreScripts/ContextActionTouch’, Line 257
20:59:04.371 - Stack End”

To replicate:
Bind action using ContextActionService and set createTouchButton to true. Reset the player and bind the action again. The button will not appear and it will instead throw that error.

1 Like

Bug still exists.