Hi I am getting the below error. I am adding a Muse Texture to my VR project (Open XR), but when I try to build the project to view via my VR headset below happens and stops the build. Do you have a suggestion please to resolve this?
Library/PackageCache/com.unity.muse.texture@0.3.1/Runtime/Pbr/Cache/PbrDataCache.cs(3,7): error CS0246: The type or namespace name ‘UltraLiteDB’ could not be found (are you missing a using directive or an assembly reference?)
Saving has no effect. Your class ‘UnityEditor.XR.Simulation.XREnvironmentViewManager’ is missing the FilePathAttribute. Use this attribute to specify where to save your ScriptableSingleton.
Only call Save() and use this attribute if you want your state to survive between sessions of Unity.
UnityEditor.XR.Simulation.XREnvironmentViewManager:OnDisable () (at ./Library/PackageCache/com.unity.xr.arfoundation@5.0.7/Editor/Simulation/XREnvironmentViewManager.cs:169)
Hi @Tufftyboola,
With the screenshot you provided, we have been able to reproduce the bug. We have created a ticket to work on it. Thank you for reporting the issue.
I got the same error today! Editor version 2022.3.5.f1. I see you were able to reproduce the bug and create a ticket to fix, but I just wanted to drop my screenshot and comment here as well.
If it help I was able to create Textures via another Unity project and import into my VR project. Then the build was successful, as long as Muse Textile package was removed from the VR project.
I also created the material using the URP, selecting all appropriate maps.
Same issue:
*com.unity.muse.texture@0.3.1/Runtime/Pbr/Cache/PbrDataCache.cs error
The type or namespace name ‘UltraLiteDB’ could not be found (are you missing a using directive or an assembly reference?)
2022.3.10f1 building to QuestPro.
Anyone have steps to fix the missing UltraLiteDB reference? Unclear how/why an editor / design time package has its tentacles in the project build?
Most probably. Meanwhile, having UltraLiteDB.dll (Release UltraLiteDB 1.4.2 · rejemy/UltraLiteDB · GitHub) in my ./Assets/Plugins did the trick. However, I do intend to use it in my project anyway, so it’s good for me. However, I have yet to explore the consequences of this leakage. Editor version 2023.2, in case.
Hi everyone,
We have a fix for this problem. We will release a new version soon, by the end of the week or early next week.
Thank you for your patience, and to have find workarounds in the meantime.
I can now use Muse Texture in my project and upload to my Meta Quest 2.
However I am getting several warnings around the “MuseMaterialShaderGraph”
One such example is below:
Shader warning in ‘Shader Graphs/MuseMaterialShaderGraph’: implicit truncation of vector type at /Applications/Unity/Hub/Editor/2022.3.11f1/Unity.app/Contents/CGIncludes/UnityShadowLibrary.cginc(62) (on vulkan)
I am nowhere near the experience level of yourself and others on this thread to know wether this is a warning just effecting me or in general or even if it is related.
I have had a look at the Shader Graph (for the experience) and noticed some nodes do not link to a similar number. Not sure if that is even relevant now but is the only thing I have to offer.
Anyway thank you and all the team are doing, this is a massive improvement to what I used to do on a shoe string budget.
I am not sure what the warning shows? Are you going over the limit of Keywords? Is there a dumb down project you can zip and upload somewhere so we can access it?