max_iz Posted September 1, 2023 Share Posted September 1, 2023 I create a new C# project. I press play, the build fails with 1 error. This does not happen on another machine I use. I tried: Installing .NET 6 SDK, as well as 7. Installing Mono. Installing .NET Core 3. Restarting. Creating another project. Reinstalling the engine. Why is it even looking for this?: Unable to find fallback package folder 'C:\Users\Max\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder' Any help would be appreciated. Here is the full error text: Running ' dotnet build -c Debug --no-restore C:/Users/Max/Desktop/Unigine/unigine_project/unigine_project.csproj ' command MSBuild version 17.7.1+971bf70db for .NET C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: The "ResolvePackageAssets" task failed unexpectedly. [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Users\Max\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder'. [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(IEnumerable`1 packageFolders) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] Build FAILED. C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: The "ResolvePackageAssets" task failed unexpectedly. [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: NuGet.Packaging.Core.PackagingException: Unable to find fallback package folder 'C:\Users\Max\AppData\Roaming\Godot\mono\GodotNuGetFallbackFolder'. [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at NuGet.Packaging.FallbackPackagePathResolver..ctor(String userPackageFolder, IEnumerable`1 fallbackPackageFolders) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.NuGetPackageResolver.CreateResolver(IEnumerable`1 packageFolders) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheWriter..ctor(ResolvePackageAssets task) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader.CreateReaderFromDisk(ResolvePackageAssets task, Byte[] settingsHash) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.CacheReader..ctor(ResolvePackageAssets task) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ReadItemGroups() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.ResolvePackageAssets.ExecuteCore() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.NET.Build.Tasks.TaskBase.Execute() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] C:\Program Files\dotnet\sdk\7.0.400\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [C:\Users\Max\Desktop\Unigine\unigine_project\unigine_project.csproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.54 Link to comment
silent Posted September 4, 2023 Share Posted September 4, 2023 max_iz You don't need to install all of the available .NET variants, since latest UNIGINE version supports only .NET 6.x. Try to install only .NET SDK 6 and remove all other .NET installations from your current PC. Maybe you uninstalled Godot incorrectly. Try to fix this by creating missing folder (as described here). Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
max_iz Posted September 4, 2023 Author Share Posted September 4, 2023 11 hours ago, silent said: max_iz You don't need to install all of the available .NET variants, since latest UNIGINE version supports only .NET 6.x. Try to install only .NET SDK 6 and remove all other .NET installations from your current PC. Maybe you uninstalled Godot incorrectly. Try to fix this by creating missing folder (as described here). Thanks! Thanks, the second link fixed the issue. Just for future reference, I did not uninstall .NET SDK 7 (though 6 is also installed), just adding the folder solved the issue. Thanks a lot! Link to comment
Recommended Posts