Cannot publish library with flowchart activity used

I am getting an error when publishing a UiPath library when there is a Flowchart activity used. May I know how to resolve this issue?

  • UiPath Studio version: 2020.10.8

  • How to reproduce:

    1. Create new library
    2. Add a flowchart activity
    3. Publish library
  • Error:
    System.AggregateException: One or more errors occurred. —> UiPath.ActivityCompiler.Exceptions.UiPathLocalizedException: Unable to create activity builder for document. Reason was ‘Cannot create unknown type ‘{}Point’.’. —> System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{}Point’.

  • Others:
    Tried to uncheck “Compile activities expressions” on publish options and it was able to publish but after adding another activity after Flowchart “Start” (even just a Write Message), got the error again.

Hey @kaydine.santuyo have you tried upgrading the package and try?

Hi @rahulsharma . Which package? It says Flowchart activity is included in “Default Activities” so I don’t think I can do something to upgrade that.

Hi @kaydine.santuyo

Could you please share the zip of the sample library project?

Hi @kaydine.santuyo I’ve looked into this issue on both Studio 2020.10.15 (which is the latest patch version as of today for 20.10 release) and in Studio 2022.10.3 (which is the latest released version of Studio, as of today) and I could not reproduce the issue. Could you, please, share the library that caused this behavior? Thank you

Hi @loginerror @LiviuPonova
Apologies for the late reply. I was using Studio 2020.10.8, and tried to upgrade to 2020.10.15 as Liviu suggested but I’m still getting the same error. Please find attached. Thank you! (2.1 KB)
output.txt (30.0 KB)

Edit: Same error occurs even if I put the Flowchart inside a Sequence