Yegor Stepanov

Results 96 comments of Yegor Stepanov

When no-admin mode, nothing is changed. If you starts IDE in Admin mode, the RealTime priority will be set, so all child processes inherit Admin mode automatically. I have increased...

The benchmark program should be NET framework. Read comments [here](https://adamsitnik.com/Hardware-Counters-Diagnoser/). Execute the net6.0 code like: ``` dotnet run -c Release -f net48 -- --runtimes net6.0 ``` Don't forget about: ```xaml...

It is acceptable to return any instance of the struct/class of any Unity function. It is not strongly related to the UniTask (JB doesn't like 3-party dependencies). ```C# //all are...

Press F12 :) ```C# public static UniTask WithCancellation(this Tween tween, CancellationToken cancellationToken) { Error.ThrowArgumentNullException(tween, nameof(tween)); if (!tween.IsActive()) return UniTask.CompletedTask; return new UniTask(TweenConfiguredSource.Create(tween, TweenCancelBehaviour.Kill, cancellationToken, CallbackType.Kill, out var token), token); }...

I'm not tested it, but similar code (for plain c# types only) works fine. ```C# public static TComponent InstantiatePrefab(this IObjectResolver resolver, TComponent prefab, TParam parameter) where TComponent : Component {...

I deeply apologize for ignoring. I'll check player behavior today or tomorrow.

> This depends on how Unity deletes the scene. It is intuitively straightforward for me. I agree with you. I'm worried about the tree-cache: I have a `ScopedAddreessableCache` which holds...

Thanks, it's fixed now. Forgot to close

A small note to the answer above: You can get access to all types except for the type you are in: ```C# public class MyService { public class MyService(Service s)...

Summary, possibly a complete list of unhandled exceptions: #### Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. ```C#...