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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Add comment