Why wouldn't Debug.Log show up in Start or Awake ?

The question says it all.

I’m trying to debug a program and I have a Debug.Log in Start and one in Awake and neither is firing for some reason.

Hmmmm.

void Awake () 
	{
		Debug.Log ("Am I awake ???");

		for (int i = 0; i < 3; i++) {
			CreateAlly();
		}
	}

	void Start(){
		Debug.Log ("This is the start area !!!");
		}

Is the script attached to an object; and, if so, is there any error before the functions are called?

The only way I can see this happening is if the script is not attached to a gameObject in the scene.

100976-untitled.png

Make sure you have debug messages set to show up in your console

I got to the point where the unity program was crashing almost every time I tried to run it to check for a debug message. And when it didn’t crash, it was freezing/locking up and I couldn’t do anything after that. I started writing a new program and got a message that the “bake” was paused while the program was running. Hmmmm. I hadn’t baked anything yet…terrain or otherwise.

I must have corrupted the program/engine somehow…could be my electric personality. :slight_smile:

I really don’t know what it was but I deleted Unity, and reloaded it. And now it seems fine.

I appreciate those who took the time to assist me and I apologize that you had to take time for something that was probably my fault to begin with.

Thank you.