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
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment