Hey Guys,
I just installed the physics package and am getting an error when trying to call it in a script. I am looking for some advice on how to get around it.
I am calling it with:
using Unity.Physics;
and am getting the error.
error CS0234: The type or namespace name ‘Physics’ does not exist in the namespace ‘Unity’ (are you missing an assembly reference?)
I can see the package, and that the namespace is correct. I have tried a couple fixes like reinstalling the package, re-importing all assets, some of the fixes here c# - Unity Scripts edited in Visual studio don't provide autocomplete - Stack Overflow, although I dont think that it is what my issue is as I am not seeing the “Miscellaneous Files” message.
Any advice would be much appreciated.
Thanks in advance