Forum Discussion

Weald_Spatial's avatar
Weald_Spatial
Brass Contributor
Apr 02, 2024

Mesh publish errors for Microsoft.MixedReality.WebView.WebViewLifetimeManager

I am getting build errors when trying to publish my space. I have been successful previously. I have updated the SDK and cleared the Library folder. Problem persists.

Unity version is 2022.3.7f1 on PC Windows 10. Mesh Toolkit 5.2402.232

 

Errors are:

 

The game object 'WebViewSystem' uses the component 'Microsoft.MixedReality.WebView.WebViewLifetimeManager' in Assembly 'Microsoft.MixedReality.WebView'. This component is not supported by Mesh runtime.

 

I don't have a WebSlate in my scene.

 

GUID [c23a922ee29c4ac195e610e735b410be] for asset 'Packages/com.microsoft.mesh.toolkit/mesh.playermodule.meta' conflicts with:
'Packages/com.microsoft.mesh.toolkit/mesh.playermodule/Scripts/Microsoft.Mesh.PlayerModule.dll.meta'
We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

  • Hello, thanks for letting us know. For now, you can remove the WebViewSystem from your scene. This GameObject is created with HideFlags.HideInHierarchy so that's why you can't see it on the scene hierarchy on your inspector. You can follow your mentioned steps, or you can enable Auto-filter components under "Project Settings > Mesh Uploader Settings". Note that Auto-filter will remove any non-supported components and you will be able to still see warnings when this filter does remove one before building.

  • Hello, thanks for letting us know. For now, you can remove the WebViewSystem from your scene. This GameObject is created with HideFlags.HideInHierarchy so that's why you can't see it on the scene hierarchy on your inspector. You can follow your mentioned steps, or you can enable Auto-filter components under "Project Settings > Mesh Uploader Settings". Note that Auto-filter will remove any non-supported components and you will be able to still see warnings when this filter does remove one before building.

  • Weald_Spatial's avatar
    Weald_Spatial
    Brass Contributor

    I'm unsure what caused this, but I had to open the Unity Scene file in VS and manually remove the GameObject reference for 'WebViewSystem'. After I did this, it published fine.

Resources