I want to make a plugin that has a toolbar button, that when clicked opens a widget. I’m using boilerplate code that’s based of Roact to make this plugin.
However when reloading the plugin I’m running into the error “Cannot create a toolbar button at this time”, and the button doesn’t get added to the toolbar. Is there a way to prevent this from happening?
I’ve tried modifying the boilerplate code however it hasn’t changed the result.
There’s a plugin file attached below.
ReproPlugin.rbxmx (428.2 KB)