Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TaskInteraction.Awake() might be getting called before UIControl.Awake().  Try moving the StartCoroutine(SearchForInteraction()); from TaskInteraction.Awake() to TaskInteraction.Start().  Since all Awake() run before all Start(), I recommend doing only initialization-type work in Awake(), so that all the references are set up before you start using them.

private void Start()
{
StartCoroutine(SearchForInteraction());
}

I did like this. but it still exist. did I do rightly?

Deleted 3 years ago

I solve this isue. I used Debug.Log out of brace LOL. thank you for your kind reply!