I wanted to follow up on this thread to share some information that may be helpful.
Firstly, thank you to those of you who have shared your projects which has allowed us to investigate the issue. It is important to note that of the .aprx files that we have looked at, the problem is not always the same. However, many of the projects do point to an issue that we believe has been addressed in ArcGIS Pro 3.2. This change has also been included in ArcGIS Pro 3.1 Patch 4 (3.1.4) that is scheduled to be available tomorrow (November 16).
So the best thing to do is to update to ArcGIS Pro 3.2 if possible. If you need to stay on ArcGIS Pro 3.1, update to patch 4 (3.1.4) when it is available.
While the fix in 3.2/3.1.4 cannot repair existing projects, it should prevent the problem from occurring in the future – again, for the most prevalent issue we’ve observed, and reiterating that not all manifestations of this error have the same underlying cause.
It is also worth noting that storing an .aprx file in a location that is automatically syncing with OneDrive can cause problems. Please review https://support.esri.com/en-us/knowledge-base/problem-arcgis-pro-and-cloud-storage-services-00002560...
While this is not supported, the article does contain some suggestions:
If combining ArcGIS Pro and OneDrive is unavoidable:
- Zip the file geodatabase folders before uploading to the cloud storage platform.
- Don’t allow multiple users access to files or simultaneous editing of files. This prevents multiple copies of the same file from being created and avoids confusion around whose edits are applied.
- Turn off OneDrive syncing while working in ArcGIS Pro. For example, turn off syncing during the day and use ArcGIS Pro during the day only. Any confusion about which file was updated last is avoided.
- When frequently accessing a folder, have OneDrive always make the folder available locally on your computer. This prevents delays and errors when accessing files that are only available online at the time they are accessed.
- Don’t access files or perform actions that generate related .lock filetypes through ArcGIS Pro (for example, editing a feature class). This can create sync errors, and if multiple machines are synchronized, lock files are downloaded to each of them.
- Access files in OneDrive directly from the location where they are synced to the local computer. For example, drag and drop the files onto ArcGIS Pro from File Explorer. Do not access and open the files from a web browser.