Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
1
Found in
6000.4.0a1
Issue ID
UUM-124913
Regression
No
Collection structs are missing readonly modifiers on methods, causing unnecessary defensive copy creation
How to reproduce:
- Open the “GraphicsTesting.zip“ project
- Open the “UnityStructsMissingReadonlyModifier.cs“ script in JetBrains Rider IDE
- Observe the warnings on all of the methods
Expected result: No warnings about impure methods
Actual result: Impure method warnings are thrown
Reproducible in: 1.1.0, 2.6.2 (6000.0.60f1, 6000.2.8f1, 6000.3.0b7, 6000.4.0a3)
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment tested
Note: The warnings are not observable in Visual Studio 2022 or likely any other IDE
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
Add comment