Showing results for 
Search instead for 
Did you mean: 

Error on Build with Meta Voice SDK (HideFlags.DontSave)

Honored Guest

I am using the Meta Voice SDK and am having trouble building my project. I get the following errors (the first is the primary). Have others encountered this?

An asset is marked with HideFlags.DontSave but is included in the build:
Asset: 'Packages/com.meta.xr.sdk.voice/Lib/'
Asset name: witai
(You are probably referencing internal Unity data in your build.)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Here's the second error:

Assertion failed on expression: 'm_LockCount == 0'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

And the third error:

Building - Failed to write file: resources.assets
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Does anyone know how to edit the HideFlags.DontSave (assuming that's the problem)? Or is there another way to address this?

Thank you!





Honored Guest

Using v63.0.0 for all Meta SDKs. Version 2023.2.16 for Unity

Honored Guest

@TimND I have the same problem. Did you find any solution?

Honored Guest

Hey all,

Replying to this in case anyone else comes across this error. 


The solution that worked for me was to find the witai.png image by searching for witai in the Project Window inside of the Packages folder. 

From there, right click on the witai.png (it is the one that looks like a robot 🤖) and then click "Show in Explorer". 


Then, you can simply delete the file.  Deleting the file didn't cause any issues for me, but if you have any concerns about that, you can delete the metadata associated with the witai.png file, but unfortunately it will come back after a couple of builds.

Hopefully this should work! 🍀