Resharper Unity Versions Save

Unity support for both ReSharper and Rider

net213-rtm-2021.3.2

2 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.3.2, and available to download from the Extension Manager for ReSharper 2021.3 (2021.3.2.229).

Changed

Fixed

  • Rider: Fix starting Unity with project path containing spaces (RIDER-62209, #2225)
  • Rider: Fix missing debug output when launching Unity editor or player (RIDER-71411, #2227)
  • ReSharper: Fix exception when placing caret on GUID reference in .asmdef file (RSPL-6988, #2234)

See also the Rider 2021.3.2 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.3.0.

net213-rtm-2021.3.0

2 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.3, and available to download from the Extension Manager for ReSharper 2021.3 (2021.3.0.208).

Added

  • Content of [Tooltip] attribute shown when hovering over a field (#2032, RIDER-64323, #2163)
  • Add context action to convert XML doc to [Tooltip] attribute for a serialised field (RIDER-64613, #2163)
  • Add inspections for unknown packages in .asmdef references (#702, #2179)
  • Add ctrl+click navigation and find usages support for GUID references in .asmdef files (#2179)
  • Add inlay hint and tooltip to show assembly name for GUID references in .asmdef files (#2179)
  • Add hint to prefer GUID references in .asmdef files (#2179)
  • Add scoped quick fix and context action to convert to and from GUID references, across all files (#2179)
  • Add proper parsing and highlighting of preprocessor branches in package source files (RIDER-50221, #710, #2191)
  • Add inspection to grey out unmet define constraints in .asmdef files (#2191)
  • Add inspection to grey out undefined version define symbols in .asmdef files (#2191)
  • Add inlay hint to show version of package in conditional version defines (#2191)
  • Add inspection to validate define symbols and expressions and version range in .asmdef files (#2191)
  • Add code completion for define symbols and package IDs in .asmdef files (#2191)
  • Rider: Remove "add reference" actions for Unity projects (#2194)
  • Rider: Add support for debugging iOS devices over USB on Linux (#2207)

Changed

  • Process external packages for assets, .meta and .asmdef files (RIDER-66223, #2174)
  • Update Unity API information to 2021.2.0b8 (#2151)
  • Update icons to match Unity branding changes
  • Rider: Several fixes and improvements to meta file tracking (RIDER-48085, RIDER-53643, RIDER-67666, #2145)
  • Rider: About dialog includes project's Rider package version (#2211)
  • ReSharper: Improve asset usage grouping (#2169)
  • ReSharper: Remove meta file tracking in favour of VSTU's implementation (RIDER-48085, #2145)

Fixed

  • Fix incorrect warning about base.OnGUI when base is not PropertyDrawer (RSRP-482954, #2159)
  • Fix renaming asset usages after editing a method name and using "Apply rename refactoring" (#2167, #2169)
  • Fix asset indexing when asset modified by some external apps (#2169)
  • Fix known words listed as abbreviations (#2170)
  • Fix unrecognised Conservative tag in shader files (RIDER-66363)
  • Fix false positive "repeated access of native property" message in ternary statement (RIDER-68426)
  • Fix assembly name not matching filename when creating a .asmdef file from templates (RIDER-68633)
  • Fix incorrect Burst analysis warning when reading from a static readonly array (#2181, #2197)
  • Fix incorrect Burst analysis warning with string literals being passed to fixed string parameters (RIDER-68193, #2197)
  • Fix incorrect Burst analysis warning when using the struct constraint with an interface on a generic method parameter (RIDER-68095, #2197)
  • Rider: Fix missing asset in Find Usages when name is serialised with single quotes (RIDER-66837)
  • Rider: Fix performance issues with Unity Log tool window (RIDER-68184, #2176)
  • Rider: Fix UnityYamlMarge integration when all conflicts are automatically resolved (RIDER-69030, #2188)
  • Rider: Fix opening non-text files from Unity (#2182)
  • Rider: Fix opening files from Unity on Apple Silicon (RIDER-68877, #2192)
  • Rider: Fix exception when opening "Attach to Unity Process" dialog with Unity 2021.2, or an older Unity and an M1 Mac (RIDER-69809, #2207)
  • Rider: Fix performance issue finding installed Unity versions during startup (RIDER-64599, #2204)
  • ReSharper: Fix asset usage updating when asset is open in VS editor (#2169)

See also the Rider 2021.3 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.2.1.

net212-rtm-2021.2.1

2 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.2.1, and available to download from the Extension Manager for ReSharper 2021.2 (2021.2.1.144).

Changed

  • Methods marked with [UnityTearDown] are treated as in use (#2135)

Fixed

See also the Rider 2021.2.1 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.2.0.

net211-rtm-2021.1.3

2 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.1.3. There is no update for ReSharper, as the changes were Rider only. The latest ReSharper release for 2021.1 is available in the Extension Manager (2021.1.2.127).

Fixed

  • Rider: Remove Unity built in package folders from Perforce content roots (RIDER-61551)
  • Rider: Only add Unity folders to index for Unity packages (#2076)
  • Rider: Clean up indexed folders added in previous versions (#2076)
  • Rider: Fix unresolved git packages when the packages-lock.json is disabled (#2084)
  • Rider: Fix unresolved or incorrectly resolved package used as a dependency when packages-lock.json is disabled (#2084)

See also the Rider 2021.1.3 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.1.2.

net212-rtm-2021.2.0

2 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.2, and available to download from the Extension Manager for ReSharper 2021.2 (2021.2.0.129).

Added

Changed

  • Methods marked with [UnitySetUp] are treated as in use (#2048, #2047)
  • Improve localised caching for performance across all Unity analyses (RIDER-62709, #2106)
  • Parse layer names for legacy projects (#2094, #2107)
  • Rider: Improve performance showing packages in Unity Explorer when reopening a project (RIDER-61805, #2105)
  • Rider: Group Unity run configurations in the run config dialog (#2081)
  • Rider: Ignore "break on unhandled exception" setting for IL2CPP players (RIDER-62321, #2098)
  • Rider: Ignore unhandled ExitGUIException while debugging the editor in Unity 2021.2 (RIDER-64944, #2119)
  • Rider: Show localised external Unity documentation if English isn't available (RIDER-55737, #2050)
  • Rider: Add size thresholds for analysis of shader files (#2121)

Fixed

  • Show editor file templates in package folders (#2090)
  • Fix showing Initialise in Start context action for non-Unity Object based classes (RIDER-64203, #2110)
  • Rider: Hide run marker gutter icons for static methods in Unity projects (RIDER-55734, #2063)
  • Rider: Error in Unity tool window log is not cleared (RIDER-59689, #2051)
  • Rider: External Documentation action now works with Unity API (#2050)
  • Rider: Fix wrong page opening in external documentation (RIDER-57745, #2050)
  • Rider: External documentation for method parameter now navigates to documentation for method (https://youtrack.jetbrains.com/issue/RIDER-60297, #2050)
  • Rider: Fix packages occasionally not showing or updating in Unity Explorer when Unity is not running (RIDER-62558, #2085)
  • Rider: Fix "New in This Directory" action not working (RIDER-64427, DEXP-591679, #2113)
  • Rider: Fix out of memory exceptions when trying to view very large compiled shader files (RIDER-65080, #2121)
  • Rider: Fix "Show in Unity" action for local packages (RIDER-65128, #2124)

See also the Rider 2021.2 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.1.3.

net211-rtm-2021.1.2

3 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.1.2, and available to download from the Extension Manager for ReSharper 2021.1 (2021.1.2.127).

Note: there was no separate release for Rider 2021.1.1. No code changes were made between 2021.1.0 and 2021.1.1.

Changed

  • Rider: Add link to troubleshooting document to the "Attach to Unity Process" debug dialog (#2072)

Fixed

  • Fix missing implicit include of UnityGC.cginc in non-surface shaders (RIDER-60508, #2069)
  • Fix exception breaking highlighting in Unity.Mathematics generated files (RIDER-61025, #2067)
  • Fix exception that prevented macros being saved with the AsmDef file template (RIDER-61376, #2073)
  • Rider: Fix USB iOS debugging (#2072)
  • Rider: Fix grouping issue in "Attach to Unity Process" dialog (#2059, #2072)
  • Rider: Fix minor rendering issue in "Attach to Unity Process" dialog (#2072)
  • Rider: Gracefully handle Unity API exceptions in debugger extensions - UnityException, MissingComponentException, MissingReferenceException, UnassignedReferenceException (RIDER-60794, RIDER-60795, DEXP-585430, DEXP-534612, DEXP-558487, #2057)
  • Rider: Fix incorrect reporting of EvaluatorAbortedException control flow exception (DEXP-570625, #2057)
  • Rider: Fix exceptions thrown when by Unity debugger extensions when implicit evaluation is disabled (RIDER-60798, #2057)
  • Rider: Fix some null reference exceptions when evaluating Unity debugger extensions (DEXP-561412, DEXP-577753, #2507)

See also the Rider 2021.1.2 milestone, and the CHANGELOG.

See previous release notes for changes in 2021.1.0.

net211-rtm-2021.1.0

3 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2021.1.0, and available to download from the Extension Manager for ReSharper 2020.1 (2021.1.0.114).

Added

  • Add Find Usages support for methods and properties used in animations (#488, RIDER-43464, RIDER-43338, #1982)
  • Add completion and validation of animation state names in Animator.Play methods (RIDER-17449, #1982)
  • Add gutter icons to show Burst compiled methods (#1995)
  • Add context actions to show call tree for performance critical, expensive and Burst compiled methods (RIDER-35169, #1995)
  • Rider: Add Code Vision actions to show call tree for performance critical, expensive and Burst compiled methods (RIDER-35169, #1995)
  • Rider: Add custom debugger type views for SerializedObject and SerializedProperty (#1991)
  • Rider: Show Unity editor plugin errors and exceptions in Unity console, not just log (RIDER-54352, #2012)
  • Rider: Add marker to ignored folders in Unity Explorer (#2024)

Changed

  • Mark UxmlFactory derived classes as implicitly used (RIDER-54860, #2002)
  • Remove warnings for try and foreach in Burst analysis. These are supported since Burst 1.4 (#2015, #1378, #2017)
  • Rider: Support code coverage for Unity play mode tests (#2016)
  • Rider: Unity file templates are grouped into "Unity Class" and "Unity Shader" (#1983)
  • Rider: Quick doc link for online pages now uses the version specific search page (#2005, #2006)
  • Rider: Double click on assembly files in Unity Explorer will add the file to Assembly Explorer (RIDER-54873, #1996)
  • Rider: Improve wording on notifications when Rider is not set as Unity's External Editor (#1958)
  • Rider: Improve performance adding log events to Unity tool window (RIDER-57100, #2014)
  • Rider: Improve discovery and display of packages in Unity Explorer (#2024)
  • Rider: Stop showing VCS status colours in Unity Explorer References node (#2024)

Fixed

  • Fix missing entries from ReSharper's Unity specific dictionary (#1737, #1809, #2008)
  • Fix creation of .meta files in the root of the Packages folder, and in file: based packages (#2000)
  • Fix suggested name collision when creating a field to cache a property index (RIDER-55185, #2002)
  • Fix stored asset file names to be relative to solution directory (RIDER-54695, #2002)
  • Fix meta files not being updated correctly if solution name doesn't match folder name exactly (#2027, #2030)
  • Fix meta files being created for hidden assets (#2035)
  • Rider: Fix location of context menu shown when clicking Unity Code Vision links (RIDER-49573, #2002)
  • Rider: Fix missing error indicator for .asmdef files (#2002)
  • Rider: Fix issue launching Unity when debugging and editor isn't running (RIDER-52498, #1920)
  • Rider: Fix exception in protocol file watcher (DEXP-559833, #1942)
  • Rider: Fix exception with multiple assemblies with the same name (RIDER-54876, #1953)
  • Rider: Fix exception with feedback provider on welcome screen (#2013)
  • Rider: Fix mouse focus issue when opening Rider full screen on macOS (RIDER-55501, #1980)
  • Rider: Fix files in Packages folder showing the non-project dialog when being modified (#1997)
  • Rider: Fix package resolution when dependency uses higher version than referenced (#1786, #2024)
  • Rider: Fix incorrectly creating Attach to Editor and Play run configuration for library projects (#2019)
  • Rider: Fix not returning to edit mode when stopping Attach to Editor and Play debug session (RIDER-50085, #2023)

See also the Rider 2021.1.0 milestone, and the CHANGELOG.

See previous release notes for changes in 2020.3.3.

net203-rtm-2020.3.3

3 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2020.3.3, and available to download from the Extension Manager for ReSharper 2020.3 (2020.3.3.149).

Note: there was no separate release for Rider 2020.3.2. No code changes were made between 2020.3.1 and 2020.3.2.

Fixed

  • Fix exception and missing namespace suppression when running plugin in inspectcode (#2003)
  • Rider: Allow disabling Burst context Code Vision (#1985)

See also the Rider 2020.3.3 milestone, and the CHANGELOG.

See previous release notes for changes in 2020.3.1.

net203-rtm-2020.3.1

3 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2020.3.1, and available to download from the Extension Manager for ReSharper 2020.3 (2020.3.1.132).

Changed

  • Disable performance and Burst context with comment (#1948)

Fixed

  • Fix performance context and Burst actions not showing if caret was on first character of method declaration (#1948)
  • Rider: Fix showing incorrect Code Vision link for expensive code (#1948)
  • Rider: Fix automatically refreshing assets before running unit tests (RIDER-54359, #1960)
  • Rider: Fix missing trace scenario in Diagnostic Tools dialog (#1962)
  • Unity editor: Fix log message on incorrect access of deprecated settings (RIDER-55362, #1967)

See also the Rider 2020.3.1 milestone, and the CHANGELOG.

See previous release notes for changes in 2020.3.0.

net203-rtm-2020.3.0

3 years ago

Note: this release is for informational purposes only. This release is bundled with Rider 2020.3.0, and available to download from the Extension Manager for ReSharper 2020.3 (2020.3.0.125).

Added

  • Add smart backspace for shader files (#1863)
  • Add context actions to mark arbitrary methods as the start of a performance critical context (#1852)
  • Add context actions to suppress performance critical context for a method (#1183, RIDER-27955, RIDER-44534, #1852)
  • Add context actions to suppress expensive method highlighting when used in a performance critical context (RIDER-46123, #1248, #1852)
  • Add context actions to highlight a method as expensive when used in a performance critical context (#1030, #1852)
  • Add context action to add [BurstDiscard] attribute to Burst compiled methods (#1852)
  • Add inspection for correct constraint on type parameter of SharedStatic for Burst context (#1852)
  • Add inspections for correct usage of SharedStatic in Burst code (#1852)
  • Add option to disable Burst analysis (#1852)
  • Add support for [SerializeReference] (#1340, #1923)
  • Add performance critical context for event functions in various editor classes (#1875)
  • Ensure navigating to source from PDBs is enabled for pre-compiled packages (#1785, #1923)
  • Change defaults for implicit conversion hints to always show instead of push-to-hint (#1923)
  • Use Unity terminology to describe event functions and serialised fields in identifier tooltips and inspections (#1914)
  • Add annotation for [NativeSetThreadIndex] to mean implicit usage (#1619, #1923)
  • Update API information to 2019.4.15f1, 2020.1.14f1 and 2020.2.0b12. Adds missing EditorWindow.CreateGUI message (1937)
  • Rider: Highlight methods from a Burst compiled context with line marker and Code Vision links (#1852)
  • Rider: Execute both edit and play mode tests in the same run (#1894)
  • Rider: Run Unity menu item handlers via gutter icon (RIDER-35911, #1857)
  • Rider: Add context picker for shader files to work with #if directives (RIDER-49212, #1868)

Changed

  • Minor improvements to File Templates (#1856, #1873)
  • Removed usage inspection suppression for obsolete ECS injected fields (#1923)
  • Rider: Add define symbols based on pragmas in shader files, such as multi_compile, shader_feature, target, geometry, etc. (RIDER-49527, #1826)
  • Rider: Launch Unity if not already running when trying to run, debug or cover unit tests (#1831)
  • Rider: Replace Clear on Play option in Unity log view with filters for last play mode and last AppDomain reload (RIDER-49887, RIDER-15476 #1833)
  • Rider: Minor update to icons to match Rider colour scheme

Fixed

  • Fix rename serialised field showing dialog twice with Player projects (RIDER-52103, #1921)
  • Fix missing remove redundant event function quick fix (#1860, #1864)
  • Fix incorrect C# language version features suggested for player projects (RIDER-52210, #1890)
  • Fix incorrect namespace suggestions for Unity class libraries (RIDER-51858, #1898)
  • Fix changing name of wrong method while trying to override a new method (RIDER-52404, #1904)
  • Fix incorrect null reference warning after implicit null check (RIDER-52665, #1735, #1799, #1805, #1906)
  • Fix Create Asset Menu Quick Fix showing for Editor and EditorWindow classes (#1702, #1704, #1876)
  • Fix exception parsing EditorBuildSettings.asset (DEXP-554913, #1916)
  • Fix incorrect base type required annotation for HelpURLAttribute (#145, #1923)
  • Fix broken [Range] and [Min] attribute integer value analysis (#1788, #1923)
  • Fix incorrect redundant [SerializeField] attribute warnings for fields of generic type T (#1885, #1923)
  • Fix incorrect redundant [SerializeField] attribute warnings for builtin types such as Vector2Int and RectInt (RIDER-18729, #1923)
  • Fix usage suppression for ComponentSystemBase (#1895, (RIDER-46106, #1923)
  • Fix Dictionary fields being treated as serialised fields (#1776, #1923)
  • Fix sfield and sprop live templates being unavailable in [Serializable] types (#1662, #1923)
  • Fix .asmdef file template missing under Packages folder (#780, #1923)
  • Fix asset usages not working with partial classes (RIDER-50125, #1935)
  • Fix exceptions when running plugin as part of ReSharper command line tools (RIDER-53968, #1935)
  • Fix false positive reports of repeated property access warnings with MonoBehaviour based components (#1544, #1935)
  • Rider: Fix profiling Unity from Rider should not force DebugCodeOptimization (RIDER-54917, #1954)
  • Rider: Fix ignoring [Explicit] attribute on unit tests (#1731, RIDER-48686, #1825)
  • Rider: Handle parameterized test fixtures with parameterized tests (RIDER-46658, #1825)
  • Rider: Fix inconclusive result when explicitly running tests from two projects (#1892)
  • Rider: Fix infinite "refreshing solution" when no connection to Unity editor plugin (#1601, RIDER-48690, #1828)
  • Rider: Fix ability to cancel unit tests while preparing to run (#1886)
  • Rider: Fix missing animation frame from busy status icon (#1862, #1865)
  • Rider: Fix exception in Unity run configuration templates with no project loaded (RIDER-51997, #1882)
  • Rider: Fix exception when trying to reconnect to Unity plugin (DEXP-545880, #1891)
  • Rider: Fix exception when updating editor notification for non-editable files (RIDER-53722, #1921)
  • Rider: Fix font size handling in Unity log tool window in presentation mode (#1923)
  • Unity editor: Fix losing Console messages before first EditorApplication.update (#1837)
  • Unity editor: Maintain last play time for log filtering across AppDomain reloads (#1884)
  • Unity editor: Fix issues communicating with Rider when Rider is stopped and restarted (#1881)
  • Unity editor: Fix crash in editor (RIDER-52020, #1889)

See also the Rider 2020.3.0 milestone, and the CHANGELOG.

See previous release notes for changes in 2020.2.2.