Search Issue Tracker

Fixed in 2018.2

Fixed in 2018.1

Votes

0

Found in

2018.1.0b5

2018.1.0b8

Issue ID

1005597

Regression

Yes

Editor crashes when calling NativeArray<T>.Equals()

Scripting

-

Steps to reproduce:
1. Download 1005597_repro.zip
2. Open "test" scene
2. Enter play mode

Results: editor crashes when calling NativeArray<T>.Equals() in script Test.cs line 13

Reproduced with: 2018.2.0a2, 2018.1.0b9, 2018.1.0b5
Not reproducible with: 2018.1.0b4, 2013.3.1p2, 2017.2.2f1
Regression introduced in: 2018.1.0b5

Example code:
var a = new NativeArray<int>(100, Allocator.Temp);
var b = new NativeArray<int>(100, Allocator.Temp);
Debug.Log(a.Equals(b));

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.