When I downgraded (in the project where I’m trying to use the custom library/activity) from UiPath.System.Activities 22.4.1 to 21.10.5 the error went away.
This was because the Range was not filled in for the Workbook Read Range inside the custom activity. Per the documentation, it should read the entire sheet - and when run directly it does. But when run from the library in another project, it doesn’t. I had to explicitly fill it in as “A1” for it to work correctly.
I am currently trying to retest it and it doesn’t seem to reproduce for me on a Windows project with System 23.10.2 on both my library and the process.
If it is still an issue for you, could you maybe share the sample library process that was causing this issue, as well as the System versions for the project where the library is used?