Property _InnerGlowColor already exists in the property sheet with a different type: 2
UnityEngine.Material:SetFloatArray (string,single[])
Microsoft.MixedReality.Toolkit.UI.BoundingBox:SetMaterials () (at ./Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs:1971)
Microsoft.MixedReality.Toolkit.UI.BoundingBox:CreateRig () (at ./Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs:1216)
Microsoft.MixedReality.Toolkit.UI.BoundingBox:OnEnable () (at ./Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs:1239)
还有
MissingReferenceException: The object of type 'Transform' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
Microsoft.MixedReality.Toolkit.UI.BoundingBox.DestroyRig () (at ./Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs:1361)
Microsoft.MixedReality.Toolkit.UI.BoundingBox.OnDisable () (at ./Library/PackageCache/com.microsoft.mixedreality.toolkit.foundation@f2323a9b7aec/SDK/Features/UX/Scripts/BoundingBox/BoundingBox.cs:1263)
我尝试删除着色器缓存但不起作用,或者关闭一些组件。
根据错误消息,您似乎同时使用了 BoundsControl.cs 和 BoundingBox.cs。边界框已被弃用,并由其后继边界控件取代。如果您已经有 BoundsControl,请删除 BoundingBox。