State Machine & GameObject comunication

Hi all, I develop my StateMachine in unity by following the book:
Learning C# by Developing Games with Unity 3D Beginner’s Guide

All works fine with the book exemple. Now I try to implement a game inside of it and I have a problem.

For the begin and setup state I use the scene00 which contain also the GameManager object. for the play state I use the scene01 where I have some GameObject for the game. When I start the play state I try to find this object and it seems ok but when I try to use/reference to the script attached I have and error during playMode. the game works but I don’t understand why I have this problem.

NullReferenceExeption:Reference not set to an instance of an object
Asset.Resources.Ceode.States.PlayState.StateUpdate()
StateManagerUpdate()

You canfind all my code in bitbuket:
https://bitbucket.org/ConfaMiky/mesa2015prj

Hi all I think that I solve my problem. looking in internet it seems that in unity the object are created not in the first frame, and so in the Start function there’s no possibilty to find the object. in my class I don’t have the Monobehaviour and so I connot use the StartCoroutine.
So in my StateUpdate function I have something like this:

            // wait 0.2seconds before find and initilize the object            
            if (fMyWaitTime >= 0.2 && initilized == false)
            {
                GameObjectToLoad();
                initilized = true;
            }
            else if (initilized == false)
            {
                fMyWaitTime += Time.deltaTime;
                return;
            }

I don’t know if there are better ways but I found this one that till now works fine for me.
If someone know a better solution please write me.
Thanks Miky