Page 1 of 1

ES3 Ref Mgr is saving refs of editor only assets

Posted: Wed Feb 21, 2024 6:08 am
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?

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

Posted: Wed Feb 21, 2024 8:17 am
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

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

Posted: Wed Feb 21, 2024 2:02 pm
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&)

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

Posted: Wed Feb 21, 2024 2:25 pm
by Joel
Have you followed the instructions I linked in my previous post?

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

Posted: Wed Feb 21, 2024 3:27 pm
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.