Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Resolved 6000.0b11 doesnt seem to recognise that the /Editor folders mean dont include in build

Discussion in 'Unity 6 Beta' started by bugfinders, Mar 14, 2024.

  1. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    2,216
    Suddenly on build
    Assets\RPG Cameras & Controllers\Scripts\Character\Camera\Editor\RPGViewFrustumEditor.cs(8,41): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)


    well yes, you shouldnt be putting them in my build mr compiler, its a build, not for the editor..
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,505
    Was this working before for you? Do you have an assembly definition file somewhere in the root directories? That will override any special folder names such as Editor.
     
  3. bugfinders

    bugfinders

    Joined:
    Jul 5, 2018
    Posts:
    2,216
    Hmm you may have a point but yesterdays commit has not resolved the issue..
    So yes.. I think im wrong here.. please ignore me and feel free to share with people as dumb post of the day
     
    Gasimo and karl_jones like this.