Search Issue Tracker

Fixed

Votes

0

Found in

1.5.1b1

Issue ID

298399

Regression

No

Error is not generated if you use the index of the component instead of the letters.

Mono

-

iphone: There are some Vector3 properties that can not be modified by component. For instance, you can't set bounds.min.x, bounds.max.y, or transform.position.z. Trying to do this generates a helpful error, as it should. However, the same error is not generated if you use the index of the component instead of the letters. For example, setting bounds.min[0], bounds.max[y], or transform.position[2] will not do anything, but it also won't generate an error. Please make the error appear for the latter case as well.

This is a problem with both Unity and Unity iPhone.

Comments (1)

  1. Ec8340606ac48db877bbdf7510a43e2c?d=mm

    superpig

    Nov 23, 2013 01:54

    Note that the error described for modifying components directly doesn't occur in UnityScript.

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.