Because my project is not AR/XR, I removed the XR package from the Unity package manager. But it reported this error:
Missing types referenced from component UniversalRenderPipelineGlobalSettings on game object UniversalRenderPipelineGlobalSettings:
UnityEngine.Rendering.Universal.UniversalRenderPipelineRuntimeXRResources, Unity.RenderPipelines.Universal.Runtime (1 object)
I found this UniversalRenderPipelineRuntimeXRResources file under .../Packages/Universal RP/Runtime/RenderPipleLineResources.
But I have no idea how to solve this problem.
Someone can help me, please!
I tried to create a minimal project, and I ran into the same issue.
Apparently URP uses some resource from AR Foundations, so you cannot remove it without getting this warning, even if you don’t use AR/VR/XR (it seems modularity is not their strong suit).
Just add AR Foundations package from the Unity registry, and the warning should go away.
Yes, it should be reported, though it is not necessarily a bug, more a problem with package dependencies.
Note that in my above reply I say adding AR Foundations package, which does make the warning go away, but it also results in creating an unnecessary folder that gets recreated all the time. However, I could not find a package that adds less things.
I’ve just installed Unity and I get “Missing types referenced from component UniversalRenderPipelineGlobalSettings” immediately upon loading the tutorial. I haven’t erased or changed anything. I’ve no idea what it means, so I’m not sure what to do to fix this. Is this related to the issue here?
I ran into the same issue after removing the XR package. In my case, the problem was that the UniversalRenderPipelineGlobalSettings asset still referenced XR-related resources. I fixed it by:
Opening Project Settings > Graphics and checking the URP Global Settings asset.
If an asset was assigned, I created a new one (Create > Rendering > URP Global Settings) and assigned it instead.
Restarting Unity to apply changes.
After doing this, the error disappeared. Let me know if this works for you!
To me this error showed up on an empty project that i was starting from the tutorials, however this last information is not important since the project is empty, i simply installed version 6000.0.46f1.
i able to make the warning disappear but im not sure which of my actions fixed it (unable to reproduce this issue)
i was doing something like this:
delete Assets/UniversalRenderPipelineGlobalSettings in Project tab, then unity automatically recreate it
select on the new UniversalRenderPipelineGlobalSettings, in inspector show Open Project Settings → Graphics → (3 dots menu (lower top right)) → Reset
then try reimport all. Assets → Reimport All (Assets menu together with File, Edit …)