Bug onLoad not run in Cocos Creator 1.5

Hi,
I’m downloaded CC 1.5 and found this issue.

  • My Scene has script called Game
  • in scene has a Note called textNode ( this Node active = false ), this Node has script TestNode

Game.js

 onLoad: function () {
        this.textNode.active = false;
        setTimeout(function() {
            this.textNode.active = true;
        }.bind(this), 2000);
    }

TestNode.js

onLoad: function () {
        console.log('onLoad');
    },
    onEnable: function() {
        console.log('onEnable');
    }

and when textNode show, onLoad not run.

Console log

Sr my english.

Test.zip (247.0 KB)

My project

This issue is fixed in v1.5.1, after v1.5.1 is released, you could give it a try.

@owen
Thank’s you. I will wait for it

I have the same issue with 1.5.0, if the node active state is set to false on init its onload event never triggered. Not even when you set node.active = true. I will try the 1.5.1 when released.