Search Issue Tracker

Fixed in Unity 2018.2

Votes

0

Found in

2017.1.2p2

Issue ID

967679

Regression

No

Array index is out of range when trying to access array element in type Array[value1+value2] in x64 build

Mono

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

To reproduce:
1. Open project
2. Build and run scene for x86 architecture
3. Build and run scene for x64 architecture

Expected: scene will be played, no errors will be thrown both times
Actual: 'System.IndexOutOfRangeException: Array index is out of range' is thrown when built for 64bit

Reproduced: 5.6.3p4, 2017.1.2p, 2017.2.0p1, 2017.3.0b8, 2018.1.0a4

Workaround: use Array[value3], where value3=value1+value2, instead of Array[value1+value2]

All about bugs

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