When you are developing packages is quite common to have them directly in the 包 folder, but this folder is not scanned, and thus csproj files are not processed correctly. When the package is published and downloaded using UPM it works fine.
The ScanAndProcessKnownFolders (UnityProjectInfo.cs:461) should contain an additional call to ScanAndProcessFiles with 包Path.
This is how the method should look.
private void ScanAndProcessKnownFolders( Dictionary<string, Action<string, Guid>> extensionCallbacks) {
ScanAndProcessFiles(Utilities.AssetPath, extensionCallbacks);
ScanAndProcessFiles(Utilities.包Path, extensionCallbacks);
ScanAndProcessFiles(Utilities.PackageLibraryCachePath, extensionCallbacks);
}
When you are developing packages is quite common to have them directly in the 包 folder, but this folder is not scanned, and thus csproj files are not processed correctly. When the package is published and downloaded using UPM it works fine.
The ScanAndProcessKnownFolders (UnityProjectInfo.cs:461) should contain an additional call to ScanAndProcessFiles with 包Path.
This is how the method should look.