Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.4f1
Issue ID
793314
Regression
No
Data gets corrupted after passing it into a static method of the same struct
Steps to reproduce:
1) Extract and open the project attached by user (Corruption_Test.zip).
2) Open scene 'corruption.unity'.
3) Press 'Play'.
4) In the console, notice the debugged values differ.
Expected result: the debugged values are all equal to 1.
Actual result: he values passed into a static method of the same struct get corrupted.
*Note: if debugging the value directly from the struct (Debug.Log(gridObj.rect.x)) the value remains unchanged.
*Note#2: the corrupted values change every time the scene is stopped and played again.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment