Skip to main content
New Participant
April 4, 2024

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

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/Wit.ai/Resources/witai.png'
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!

 

 

 

This topic has been closed for replies.

4 replies

TimNDAuthor
New Participant
April 4, 2024

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

New Participant
April 24, 2024

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

New Participant
June 1, 2024

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! 🍀

New Participant
January 2, 2025

You can also copy the com.meta.xr.sdk.voice@xx.0.0 Folder to your "Project\Packages"-Folder and delete the file there. Then the file won't come back.