Search Issue Tracker

Fixed in 2017.1.0f3

Votes

0

Found in

5.6.0p3

Issue ID

907896

Regression

Yes

List exceeds maximum array size (1024) when using Material.SetFloatArray() and List size of 513

Graphics - General

-

Steps to reproduce:
1. Download GlobalTest.zip and open "TrySetWithListScene" scene
2. Enter play mode
3. Check console

Expected results: Console should throw warning when list size exceeds 1024
Actual results: Console throws out warning when list size is 513

Warning message:
Property (_ArrayName) exceeds maximum allowed array size (1024). Cap to (1023).
UnityEngine.Material:SetFloatArray(String, List`1)

Reproduced with: 2017.1.b3, 5.6.0p4
Not reproducible with: 5.5.3p3, 5.6.0b5
Regression introduced in: 5.6.0b6

Comments (2)

  1. luosiri

    Mar 07, 2018 06:26

    And my Unity Application version is : 2017.1.f1 。。。。。。

  2. luosiri

    Mar 07, 2018 06:23

    I got this too, very confuse about it

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.