Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.3.X, 2020.1.X
Votes
0
Found in
2018.4
2019.2
2019.3
2019.3.0f3
2020.1
Issue ID
1214853
Regression
No
Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AlignOf<T> always returns 4
How to reproduce:
1. Open tester-attached project (AlignOf.zip)
2. Enter Play Mode
3. See the Console window
Expected result: Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AlignOf<T> returns correct value for the given type T(e.g. 8 for Int64).
Actual result: Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AlignOf<T> always returns 4
Reproducible with: 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a21
Could not test with: 2017.4.36f1(Unity namespace missing)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
- No option to skip video transcoding when launching a Project
- “ValidateSchema Error2” error is thrown in the Player when using IL2CPP Scripting Backend
- Symbolic links disappear when a .xcframework file is added through the Unity Editor
- Errors regarding importing occur upon opening a project when the "Library" folder is deleted
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a5
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0b6
Resolution Note (fix version 2019.3):
Fixed in 2019.3.11f1