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
- Crash on __pthread_kill when entering Play mode
- Crash on tlsf_free when exiting Play Mode in a specific project
- Camera Solid Color is overwritten when injecting Custom Render Pass at 'RenderPassEvent.AfterRenderingPrePasses + 1'
- Shadows are not rendering when using the "On Demand" shadow update mode with GPU Resident Drawer and additional camera render texture
- "AVFoundationVideoMedia error while reading” error is thrown when streaming from a URL with a signed token in VideoPlayer
Add comment