Search Issue Tracker

Fixed in 2017.1.X

Votes

0

Found in

5.3.5f1

Issue ID

811813

Regression

No

AnimatorControllerParameter.name cannot be assigned error when building the project

Animation

-

How to reproduce:
1. Import the attached 811813Animation package
2. Build the project
3. Build fails with an error "error CS0200: Property or indexer `UnityEngine.AnimatorControllerParameter.name' cannot be assigned to (it is read only)"
4. Check the script. Line 70 (name = animatorControllerParameter.name) causes the issue
5. If you Peek name Definition you will see that it has get and set accessors

Result: Build fails with an error
Expected: Build succeeds without errors

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.