Search Issue Tracker

By Design

Votes

0

Found in

2018.1.0b5

2018.1.0b6

Issue ID

998514

Regression

Yes

[Regression] NativeArrayOption.None no longer working, compilation error appears

Scripting

-

How to reproduce:
1. Open new project
2. Write NativeArray in script
"NativeArray<Vector3>(m_NumberOfCubes, Allocator.Persistent, NativeArrayOptions.None);"

Actual result: There is a compilation error

Reproduced with: 2018.1.0b5, 2018.1.0b6
Not reproduced with: 2018.1.0b4

Regression since: 2018.1.0b5

Workaround: change NativeArrayOptions.None to NativeArrayOptions.UninitializedMemory

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.