I am a little confused. There is a project and different scripts in it. In one of the scripts, a dependency on UniTask:
using System.Threading;
using Cysharp.Threading.Tasks;
And it works fine:
Created another script, but now i got missing namespace error:
As we can see on 1st screenshot: unitask is imported in project. What i have already done: rebuild solution via VS, but id didnt help.
Any advices please?
In VS: project - sub folder References - Manage NuGet Packages - add your unitask packages.
for example: dotnet add package UniTask --version 2.3.3