CreateDockWidgetPluginGuiAsync uses old code sample

local testWidget = plugin:CreateDockWidgetPluginGui("TestWidget", widgetInfo)

should be replaced with

local testWidget = plugin:CreateDockWidgetPluginGuiAsync("TestWidget", widgetInfo)

Page URL: https://create.roblox.com/docs/reference/engine/classes/Plugin#CreateDockWidgetPluginGuiAsync

2 Likes

Hi Yarik! Thanks for catching this :eyes:
I just pushed a fix so that the code sample shows the right name. It should be live soon!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.