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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment