Build Errors Related to the Demo Menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Kerple
Posts: 9
Joined: Sat Aug 05, 2023 1:14 pm

Build Errors Related to the Demo Menu

Post by Kerple »

I am attempting the build my game. I keep getting this error "An asset is marked with HideFlags.DontSave but is included in the build:" I get about 360 of this error when I try to build and it cancels the build. When I remove Demo Menu it works completely fine (I do need this object as it is my pause menu) I also have a custom version I tried that doesn't work either. I am unsure what exactly is causing this error but it still crops up with an unedited version of the demo menu.
Attachments
image_2024-01-28_031746202.png
image_2024-01-28_031746202.png (88.67 KiB) Viewed 516 times
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Build Errors Related to the Demo Menu

Post by Tony Li »

Hi,

DemoMenu doesn't do anything with hide flags. That can be set on your GameObject. Perhaps another script on the GameObject is setting it?

Are you using Doozy UI? Some versions of Doozy have issues building.

It could also be the GUI Skin asset. As a test, try unassigning the Demo Menu component's GUI Skin field and then try building.
Kerple
Posts: 9
Joined: Sat Aug 05, 2023 1:14 pm

Re: Build Errors Related to the Demo Menu

Post by Kerple »

The GUISkin was causing the problem. I unassigned it like you said and the pause menu looks and works fine. It also builds out properly. Thank you very much for your help!
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: Build Errors Related to the Demo Menu

Post by Tony Li »

Glad to help!
Post Reply