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
- "DrawDepthNormalPrepass" exceptions are thrown in Editor when Ctrl key is held with specific renderer settings
- Script file name changes do not display in Editor when Compiler errors are present
- Sprites are not rotating with bones when the Sprite type is Unlit
- Crash on TransferField_NonArray<YAMLRead,Converter_String> when opening a specific project
- Missing page when opening reference for Panel Text Settings
Add comment