Jump to content

Exported ui badly generates code.

CuiHelper.DestroyUI(player, "RustUI");


CuiHelper.DestroyUi(player, "RustUI");

Small typo in the code CuiHelper.DestroyUi

Edited by ArtiIOMI
The problem has not been resolved in the public version.

Share this comment

Link to comment

Ok, I found where I can fix it myself. I also added a new button option to RustUIPropertis, "CloseUIButton"

Share this comment

Link to comment

If you have problem with it go to directory UI>Assets>Editor and open UGUIMenu.cs
Find line(239) with text 

fullexport.Append($"CuiHelper.DestroyUI(player, \"{UI.name}\");");

and change it to

fullexport.Append($"CuiHelper.DestroyUi(player, \"{UI.name}\");");

Save file. Done.

@Billy Joe Please close. Thanks.

  • Love 1

Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


Payments Processed

Total payments processed.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.