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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Add comment