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
- [Windows] Recommended and Downloaded Learn tabs are empty and have scrollbar
- Memory spike when loading a prefab using TextMeshPro in iOS Player
- [iOS] UI Toolkit's DropdownField fails to close on first tap when Windowed Apps is used
- VFX System Border text cursor is sometimes not visible
- Hub horizontal scroll hides all items when scrolled to the end
Add comment