-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecated: PreferNonAllocApiAnalyzer #2445
Comments
Thanks. Please see RIDER-112462 |
@citizenmatt I was the one who triggered that issue being opened via thread necro of https://rider-support.jetbrains.com/hc/en-us/community/posts/11634372238098-NonAlloc-in-Unity-is-either-deprecated-or-ineffective?page=1#community_comment_18933790136466 |
Thanks! We'll hopefully get on to this as part of the next release. We'd like to suggest useful transformations, not deprecated ones! |
Awesome! The inspection code has definitely helped more than not. Glad to assist with the update process. |
Referring to the analysis code in resharper/resharper-unity/src/Unity/CSharp/Daemon/Stages/Analysis/PreferNonAllocApiAnalyzer.cs
Unity no longer recommends this but the opposite. Following this inspection will lead to broken code in the future as Unity deprecates these functions. This also caused some unneeded refactors.
Notice of deprecation from Unity:
[Physics2D].[OverlapAreaNonAlloc]
Recommended action in Project Settings or script:
[Reuse Collision Callbacks]
The text was updated successfully, but these errors were encountered: