I try to use lookup datatable activities but it required some package update, but in the middle of the downloading process my internet is down, and now my project is corrupt
I cannot open the main.xaml or any xaml with cautions on it, please help to to fix this
Object reference not set to an instance of an object.
Error: RemoteException wrapping System.NullReferenceException: Object reference not set to an instance of an object.
at UiPath.Studio.Plugin.Workflow.Presentation.Extensions.SetFields(IUnresolvedActivity unresolvedActivity, Activity activity)
at InvokeStub_UnresolvedActivity.set_Info(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture), HResult -2146233088
The files appear to have been deleted from the project. Please refresh the project and verify the file list. If the files are not present, restore them from OneDrive backup.
follow the below steps:
- Open OneDrive in your browser
https://onedrive.live.com
(or https://www.office.com → OneDrive)
- Sign in using your Microsoft account.
- In the left navigation pane, click Recycle bin.
- Locate the deleted files or folders.
- Select the files/folders you want to restore.
- Click Restore.
- The files will be restored to their original location.
- Go back to your project folder and refresh the project.
thanks for the reply, but all the file is not deleted and present in the project folder, just cannot be opened
Close UiPath Studio, then clear nuget cache.
Then again open the project and try to install the dependenceies which were missed or lost..
If still you get issues,build a new project then copy paste these xamls , then reinstall it should work fine..
thanks for reply, so if clear nuget and nuget cache is not fixing the issue, how to reinstall it after i build new project?
Hi @Hendaryie_Tjoeng
Try this approach
- Close UiPath Studio
- Delete NuGet cache:
C:\Users<user>.nuget\packages
C:\Users<user>.local\NuGet
3.Delete Studio cache
C:\Users<user>\AppData\Local\UiPath
4.Reopen Studio → Open project via project.json (not XAML)
5. Let packages restore with stable internet
If still fails
Open project.json → remove the half-installed package → reopen project.
Cheers
If clearing the NuGet cache doesn’t resolve your issue, rebuild the project and reinstall dependencies cleanly.
Create a new blank project using the same project type. Then, install all required activity packages via Manage Packages before opening any workflows. Then copy the .xaml files from the corrupted project into this one. Once the correct dependencies are installed, Studio will automatically resolve the previously unresolved activities.
thanks for reply, i have try to flush the packages but it still error, buat luckly i have some old backup for other framework file, but now i have have some warning about simulate and click before typing even i set the click before typing to none, buat the warning keep showint
thank you for the insight but i try it already but still the same, but luckly i have some old backup for the framework file
1 Like
Keeping regular backups is always a good practice 
1 Like
@Hendaryie_Tjoeng
Tried the cleanup approach cleared NuGet + Studio cache, reopened via project.json, restored packages with stable internet. The warning still appears. Since this is a known Studio validation warning with Simulate input, there’s no further workaround—safe to ignore or switch input mode to Hardware/Chromium.
Cheers
thank you very much for the insight, hope you have a good day!
1 Like
thank you for the insight, hope you have a good day!
If this solution work for you please mark as solved.
Happy Automations.