jmesrje
(jmesrje)
June 26, 2024, 5:04pm
1
I have an issue where my react-made UI is not rendering inside of my plugin dock widget at all, only until I reload the place. At this point it renders, but nothing shows when I choose “Save as Local Plugin” again.
My code produces no errors and works perfectly fine.
2 Likes
jmesrje
(jmesrje)
June 26, 2024, 5:22pm
3
this just gives a type error
1 Like
jmesrje
(jmesrje)
June 26, 2024, 5:22pm
4
nothing exists in pluginguiservice either, so it’s not because it’s not visible
1 Like
Yeah, I was wrong, sorry, maybe try setting the Handle to Toolbar, I’m not too sure thought…
1 Like
jmesrje
(jmesrje)
June 26, 2024, 5:25pm
6
The handle is usually a ScreenGui of some sort, which is the equivalent of a DockWidgetPluginGUI. But don’t worry about it
1 Like
Ok, basically you have to say the type of GuiObject you want to create, so maybe use typeof(StudioComponents.Background) and the same for the other.
1 Like
jmesrje
(jmesrje)
June 26, 2024, 5:29pm
8
It doesn’t work anyway because the type is not valid
1 Like
Set it manually? I mean you could just say which Instance type you want to create, right?