Search Issue Tracker
Fixed
Fixed in 2021.3.44f1, 2022.3.45f1, 6000.0.17f1, 7000.0.0a13
Votes
0
Found in
2021.3.40f1
2022.3.37f1
6000.0.10f1
6000.1.0a7
7000.0.0a1
Issue ID
UUM-75305
Regression
No
The MustDisposeResource attribute is missing when using the Unity JetBrains.Annotations library subset
Reproduction steps:
1. Open the attached “RiderTest” project
2. Open the “Assets/SomeExampleComponent.cs” script with Rider 2023.3.4 or newer
3. Observe the warning in line 18
4. Uncomment lines 14 or 15 to try to solve the warning and save the script
5. Observe the Console logs in the Editor
Expected Result: No errors are thrown
Actual Result: “The type or namespace name 'MustDisposeResource' does not exist in the namespace 'JetBrains.Annotations'“ error is thrown
Reproducible with: 2021.3.40f1, 2022.3.37f1, 6000.0.10f1
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Paste Settings functionality does not save the pasted settings in volume profile when reloading the project
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
Add comment