Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug An asset is marked with HideFlags.DontSave but is included in the build:

Discussion in 'Editor & General Support' started by arkon, Mar 13, 2023.

  1. arkon

    arkon

    Joined:
    Jun 27, 2011
    Posts:
    1,122
    Out of the blue I can't build to IOS target anymore I have the error:

    An asset is marked with HideFlags.DontSave but is included in the build:
    Asset: 'Library/unity editor resources'
    Asset name: RobotoMono-Regular
    (You are probably referencing internal Unity data in your build.)
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)

    I've changed nothing and Unity 2021.3.20f1 refuses to build anymore, I've been stuck for a week and
    can't even find where the Unity/Library RobotoMono-Regular is.

    Any ideas guys as I am really stuck, I've tried creating a new scene and copying everything over but that didn't work. I've tried deleting the Library and Obj folders and letting unity rebuild. I've tried re installing unity all to no avail.
     

    Attached Files: