Search Unity

Error CS0246 The type or namespace name Cannot be Found

Discussion in 'Editor & General Support' started by CrazyApplesStudio, Jun 12, 2018.

  1. CrazyApplesStudio

    CrazyApplesStudio

    Joined:
    Jan 18, 2018
    Posts:
    25
    Hello , i got stuck on my current project when i found myself unable to access public classes from another script, i have a class(Mono Behaviour) that tries to access another class(simple custom data class), they are both located in the same folder ("Assets\Scripts") yet the Mono cannot access it and i get the CS 0246 error, i tried adding a namespace and other options and none worked and i am really stuck and cannot figure out what is going on , also creating a new public class and trying to access it from this class doesn't work either.

    Could this be triggered by the Mono Behaviour script being set in a Script Execution Order script list.