Provides an efficient allocation free async/await integration for Unity.
This report summarizes scanner evidence for Cysharp/UniTask, a C# project with 11,277 GitHub stars. SynthScan examined 84,964 lines of code across 234 source files, recording 85 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 2.8 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 72 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 85 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 85 distinct pattern matches across 2 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | …iTask/Assets/Plugins/UniTask/Runtime/IUniTaskSource.cs | 39 | System.Threading.Tasks.Sources.ValueTaskSourceStatus System.Threading.Tasks.Sources.IValueTaskSource.GetStatus(s | CODE |
| CRITICAL⚡ | …iTask/Assets/Plugins/UniTask/Runtime/IUniTaskSource.cs | 44 | void System.Threading.Tasks.Sources.IValueTaskSource.GetResult(short token) | CODE |
| CRITICAL⚡ | …iTask/Assets/Plugins/UniTask/Runtime/IUniTaskSource.cs | 49 | void System.Threading.Tasks.Sources.IValueTaskSource.OnCompleted(Action<object> continuation, object state, shor | CODE |
| CRITICAL | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ToArray.cs | 14 | return Cysharp.Threading.Tasks.Linq.ToArray.ToArrayAsync(source, cancellationToken); | CODE |
| CRITICAL | …iTask/Assets/Plugins/UniTask/Runtime/Linq/ToHashSet.cs | 13 | return Cysharp.Threading.Tasks.Linq.ToHashSet.ToHashSetAsync(source, EqualityComparer<TSource>.Default, canc | CODE |
| CRITICAL | …iTask/Assets/Plugins/UniTask/Runtime/Linq/ToHashSet.cs | 21 | return Cysharp.Threading.Tasks.Linq.ToHashSet.ToHashSetAsync(source, comparer, cancellationToken); | CODE |
| CRITICAL | …/UniTask/Assets/Plugins/UniTask/Runtime/Linq/ToList.cs | 13 | return Cysharp.Threading.Tasks.Linq.ToList.ToListAsync(source, cancellationToken); | CODE |
| CRITICAL | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 14 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAsync(source, action, cancellationToken); | CODE |
| CRITICAL | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 22 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAsync(source, action, cancellationToken); | CODE |
| CRITICAL⚡ | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 46 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAwaitAsync(source, action, cancellationToken); | CODE |
| CRITICAL⚡ | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 54 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAwaitAsync(source, action, cancellationToken); | CODE |
| CRITICAL⚡ | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 62 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAwaitWithCancellationAsync(source, action, cancellationTo | CODE |
| CRITICAL⚡ | …UniTask/Assets/Plugins/UniTask/Runtime/Linq/ForEach.cs | 70 | return Cysharp.Threading.Tasks.Linq.ForEach.ForEachAwaitWithCancellationAsync(source, action, cancellationTo | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/UniTask.NetCore/NetCore/UniTask.Delay.cs | 1 | //using Cysharp.Threading.Tasks.Internal; | COMMENT |
| LOW | src/UniTask.NetCore/NetCore/UniTask.Delay.cs | 21 | // } | COMMENT |
| LOW | …c/UniTask.NetCore/NetCore/AsyncEnumerableExtensions.cs | 101 | #endif | COMMENT |
| LOW | src/UniTask.NetCoreTests/AsyncReactivePropertyTest.cs | 61 | // var f = await rp.FirstAsync(); | COMMENT |
| LOW | src/UniTask/Assets/Scenes/SandboxMain.cs | 321 | // //await r; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/SandboxMain.cs | 621 | COMMENT | |
| LOW | src/UniTask/Assets/Scenes/SandboxMain.cs | 641 | //RunCheck(PlayerLoopTiming.EarlyUpdate).Forget(); | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 1 | //using Cysharp.Threading.Tasks; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 21 | // // var client = new NetworkClient("http://localhost", TimeSpan.FromSeconds(10), | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 41 | // return await next(context, cancellationToken); | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 61 | // // if (result == DialogResult.Ok) { }... | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 81 | // { | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 101 | COMMENT | |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 121 | // } | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 141 | // else | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 161 | // // return response; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 181 | // // UnityEngine.Debug.Log($"Request NetworkError: {context.Path} Code:{webex.ResponseCode} Messa | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 201 | // var respsonse = await next(context, cancellationToken); | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 221 | // } | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 241 | // bool running; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 261 | // async UniTaskVoid Run() | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 281 | // { | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 301 | // { | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 321 | // } | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 341 | // readonly byte[] bytes; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 361 | COMMENT | |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 381 | COMMENT | |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 401 | // this.timeout = timeout; | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 421 | // async UniTask<ResponseContext> IAsyncDecorator.SendAsync(RequestContext context, CancellationToken cancellatio | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 441 | // // Timeout処理はCancellationTokenSourceのCancelAfterSlim(UniTask拡張)を使ってサクッと処理 | COMMENT |
| LOW | src/UniTask/Assets/Scenes/MiddlewareSample.cs | 461 | // { | COMMENT |
| LOW | src/UniTask/Assets/Plugins/UniTask/Runtime/Linq/Do.cs | 41 | return source.Do(observer.OnNext, observer.OnError, observer.OnCompleted); // alloc delegate. | COMMENT |
| LOW | src/UniTask/Assets/Plugins/UniTask/Runtime/Linq/Do.cs | 61 | //public static IUniTaskAsyncEnumerable<TSource> DoAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, | COMMENT |
| LOW | src/UniTask/Assets/Tests/CoroutineToUniTaskTest.cs | 61 | //{ | COMMENT |
| LOW | src/UniTask/Assets/Tests/CoroutineToUniTaskTest.cs | 81 | //{ | COMMENT |
| LOW | src/UniTask/Assets/Tests/RunTest.cs | 41 | #if !UNITY_WSA | COMMENT |
| LOW | src/UniTask/Assets/Tests/RunTest.cs | 61 | main.Should().Be(Thread.CurrentThread.ManagedThreadId); | COMMENT |
| LOW | src/UniTask/Assets/Tests/GenericsWhenAllAny.cs | 81 | await UniTask.WhenAll(t01, t02, t03, t04); | COMMENT |
| LOW | src/UniTask/Assets/Tests/GenericsWhenAllAny.cs | 101 | // var t01 = Tes<MyGenerics<int>>(); | COMMENT |
| LOW | src/UniTask/Assets/Tests/GenericsWhenAllAny.cs | 121 | COMMENT | |
| LOW | src/UniTask/Assets/Tests/AsyncTest.cs | 261 | //{ | COMMENT |
| LOW | src/UniTask/Assets/Tests/AsyncTest.cs | 281 | COMMENT | |
| LOW | src/UniTask/Assets/Tests/AsyncTest.cs | 341 | yield return null; | COMMENT |
| LOW | src/UniTask/Assets/Tests/AsyncTest.cs | 401 | COMMENT | |
| LOW | src/UniTask/Assets/Tests/Editor/WhenAnyTestEditor.cs | 1 | //#if CSHARP_7_OR_LATER || (UNITY_2018_3_OR_NEWER && (NET_STANDARD_2_0 || NET_4_6)) | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/WhenAnyTestEditor.cs | 21 | // public class WhenAnyTest | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/WhenAnyTestEditor.cs | 41 | //} | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/RunTestEditor.cs | 1 | //#if !(UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/RunTestEditor.cs | 21 | //#else | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/RunTestEditor.cs | 41 | // //[UnityTest] | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/RunTestEditor.cs | 61 | // //[UnityTest] | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/RunTestEditor.cs | 81 | // await UniTask.Run<int>(() => throw new Exception(), true); | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 1 | //#if !(UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 21 | //#else | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 41 | // public struct MyJob : IJob | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 61 | // await UniTask.Yield(PlayerLoopTiming.PostLateUpdate); | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 81 | // { | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 101 | // var a = UniTask.FromResult(999); | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 121 | // }); | COMMENT |
| LOW | src/UniTask/Assets/Tests/Editor/AsyncTestEditor.cs | 141 | // public int MyProperty { get; set; } | COMMENT |
| 12 more matches not shown… | ||||