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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment