Search Issue Tracker

Status: Fixed in Unity 5.6.0

Votes

0

Found in

5.5.0p2

Issue ID

862473

Regression

Yes

Disabling script on instantiate gameobject throws self -> GetEnabled()

Scripting

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Workaround is possible

Steps to reproduce:
1. Download repro.zip and open "new scene".
2. Press play.

Expected results:
Error should not appeared and script should be disabled.
Actual results:
Script is called and unity throws self -> GetEnabled() error

Reproduced with:
5.6.0b2
5.5.0p3

Not reproducible with:
5.4.3p4
5.3.7p3

Comments (1)

  1. 8ebcd911dd608fb2dc9a445f07dfeac7?d=mm

    sebas77

    Jan 17, 2017 14:37

    wait, are we forced to update to 5.6 to have this fixed?

All about bugs

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