Hello! We ran into this same issue on Studio 24.10.6 with Document Understanding 2.17.4 and wanted to share what we found in case it helps others.
The error we saw was “Cannot create unknown type … UiPath.IntelligentOCR.StudioWeb.Activities…CustomGptDocumentType…Bundle”.
In our case, this was tied to the “Generate Data Type” option in the Extract Document Data activity.
When this is set to True, UiPath generates a strongly typed output (IDocumentData) based on the selected extractor. That type appears to be generated dynamically, which you can see in the namespace such as CustomGptDocumentType_.Bundle, and it gets serialized into the XAML.
What we observed is that this works fine on the original development machine, but when another developer pulls the project or opens it in a different environment, Studio may not be able to resolve that generated type and throws the “Cannot create unknown type” error during load.
What worked for us was setting “Generate Data Type” to False in the Extract Document Data activity, deleting and recreating the output variable, then saving and committing the project again. This switches the output to IDocumentData, and after making this change, the project opened cleanly across machines.
The strongly typed output is helpful for IntelliSense, but in our testing it behaves like a dynamically generated type that may not always be available across environments, which can introduce challenges in team-based development and source control scenarios.
We also noticed that UiPath has identified related type resolution issues with this feature, such as “ambiguous type” errors noted in recent Document Understanding release notes and tied to Studio fixes, which suggests this is an actively evolving area. https://docs.uipath.com/activities/other/latest/document-understanding/release-notes-document-understanding-activities
For now, we are standardizing on setting Generate Data Type to False for shared projects.