Skip to main content
New Participant
February 16, 2024

having error CS0234 after i download sample from Meta MR Utility Kit

This error shown when I download sample Meta MR Utility Kit 60.0.0.
I tried to re-import the sample after I update Meta MR Utility Kit to version 62.0.0. The same error shown.
Is there any way to debug it other than just delete this FurnitureResizer.cs file?

Error Message:
Assets\Samples\Meta MR Utility Kit\62.0.0\Virtual Home\scripts\Resizer\FurnitureResizer.cs(51,61): error CS0234: The type or namespace name 'InvSqrt2' does not exist in the namespace 'Utilities' (are you missing an assembly reference?)

This topic has been closed for replies.

1 reply

New Participant
March 8, 2024

I think you can change 'Utilities.InvSqrt2' to --> 

 1 / Mathf.Sqrt(2)