(Meta XR SDK Interaction) Unity keeps showing me this error every time I save the scene, and I don't know why

Hi guys,

Unity keeps showing me this error every time I save the scene, and I don’t know why.

Here’s the error message:

Saving Prefab to immutable folder is not allowed: Packages/com.meta.xr.sdk.interaction.ovr/Editor/Blocks/Interactors/Prefabs/[BB] Hand Ray.prefab

It doesn’t create any problems; I can still play without any issues. However, I would like to get rid of this error before building the application.

Did you change the Prefab in any way (apply Prefab modification, enter Prefab mode and made changes, etc.?)

–

1 Answer

1

hi,

I came across this issue recently too when using Unity 2022.3.0.
I believe the faulty piece is the Unity component SortingGroup within the [BB] Hand Ray prefab. I inspected the Unity changelong and it looks like this bug could cause it:

I updated my project to the latest Unity 2022.3.46f and could successfully build.

Please let me know which version were you using and if this fixes your problem!