Cysharp / Cysharp/UniTask

CS1929 'UniTask' does not contain a definition for 'Delay'

Open
#721 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
11.2k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

For some reason, it is not possible to access the "Delay" method in my project. I have installed the latest version of UniTask.

Severity Code Description Project File Line Suppression State
Error (active) CS1929 'UniTask' does not contain a definition for 'Delay' and the best extension method overload 'MECExtensionMethods2.Delay(IEnumerator, TimeSpan, Func<TimeSpan, bool>)' requires a receiver of type 'System.Collections.Generic.IEnumerator' ScpApiClient C:\Users\USER\Documents\Visual Studio 18\SCPSL Plugins\TamagoServer\ScpApiClient\DataModels\User.cs 558

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at ScpApiClient/DataModels/User.cs line 558 and inspect how UniTask.Delay is being accessed in the reported project. Compare that usage with the installed UniTask API and confirm the project compiles with Delay available.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.