ES3 Ref Mgr is saving refs of editor only assets

Discussion and help for Easy Save 3
Post Reply
silkmoon18
Posts: 13
Joined: Sun Oct 01, 2023 11:04 am

ES3 Ref Mgr is saving refs of editor only assets

Post by silkmoon18 »

Hello,

I found that es3 ref mgr also includes the refs of the editor only assets such as TMP - Text Component Icon, which prevents me from building the scene to an addressable. How can I handle this?
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES3 Ref Mgr is saving refs of editor only assets

Post by Joel »

Hi there,

Are you using the latest version of Easy Save? Easy Save will only add assets which are marked as runtime, so if this is the case it would indicate that either the asset has the incorrect HideFlags assigned.

If this is the case you can follow the Manually Excluding References section of the References guide to exclude it from the manager.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
silkmoon18
Posts: 13
Joined: Sun Oct 01, 2023 11:04 am

Re: ES3 Ref Mgr is saving refs of editor only assets

Post by silkmoon18 »

Joel wrote: Wed Feb 21, 2024 8:17 am Hi there,

Are you using the latest version of Easy Save? Easy Save will only add assets which are marked as runtime, so if this is the case it would indicate that either the asset has the incorrect HideFlags assigned.

If this is the case you can follow the Manually Excluding References section of the References guide to exclude it from the manager.

All the best,
Joel
Yes. I am using version 3.5.7, and the error reported is
An asset is marked with HideFlags.DontSave but is included in the build:
Asset: 'Packages/com.unity.ugui/Editor Resources/Gizmos/TMP - Text Component Icon.psd'
Included from scene: 'Assets/Scenes/Main Menu.unity'
Asset name: TMP - Text Component Icon
(You are probably referencing internal Unity data in your build.)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES3 Ref Mgr is saving refs of editor only assets

Post by Joel »

Have you followed the instructions I linked in my previous post?
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
silkmoon18
Posts: 13
Joined: Sun Oct 01, 2023 11:04 am

Re: ES3 Ref Mgr is saving refs of editor only assets

Post by silkmoon18 »

Joel wrote: Wed Feb 21, 2024 2:25 pm Have you followed the instructions I linked in my previous post?
Yes. After excluding the objects it still didn't work because the mgr has refs to those excluded objects marked as excluded, but after excluding, I refreshed and removed the objects from the excluded objects of the mgr, then refreshed again, it worked.
Post Reply