Activity collapsed without body

Out of a sudden some of my activities in studio ver 2026.0.191 STS appears collased. Only properties panel on right hand side is visible for view/update. The body of the acvitiy is missing. Already tried restarting machine, delete cachle from folder. Deleting all folders in project folder leaving xml but to no avail. Tried toggling Settings>Design>Compact Design Experience.

Please help.
Many thanks in advance.

Hi @MKF_Motor_Sdn_Bhd,

If you recently updated Studio, try deleting the existing packages from:
C:\Users\<Username>\.nuget\packages

Then reopen the project so UiPath restores them fresh.

Also, check if you have changed any Design settings in Studio.

Thanks!

It has almost certainly not happened ‘suddenly’.

This is usually due to the runtime dependencies being use instead of the designer ones.
This usually happens if you download the project after it was published (which converts the dependencies to runtime ones) and then extract it from the nuget package.
Did you do that?

I’d strongly urge you to stop such a practice. Use Source Control instead of extracting packages.

@MKF_Motor_Sdn_Bhd

As John suggested, it could be due to the runtime package version. Refer this article on the topic:

i tried restoring my backed up project folders (by copy and paste) and reopened them which showed the un-collapsed activities.
But after publishing my project, the activities will get collapsed. This is right after clicking on Publish and right after studio showing successful publish status message and after the click on OK.

I’m not sure this is what you mean by “downloading after published” as this is all done automatically by the studio.

Thats strange if so, but at least can show a pattern of when it occurs.

Does this happen with any project you try to publish? It will switch the dependencies to the runtime ones and keep them switched even after publishing?

@MKF_Motor_Sdn_Bhd

Can you try disabling the highlighted features.

yes it happens to other projects as well. the only changes that i know of is the recent UiPath update.

Can you downgrade to a stable LTS version then? Perhaps there is a small bug if you are using an STS version?

Hey mate.

Check out the libraries and if you spot any ending in “.Runtime”, go ahead and swap it out. For instance, if you see “UiPath.System.Activities.Runtime”, delete it and upload the right version: “UiPath.System.Activities”.

See you