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

Scripting

-

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)

  1. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a5

  2. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b6

  3. Resolution Note (fix version 2019.3):

    Fixed in 2019.3.11f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.