“The type or namespace name 'SpatialAvatarController' could not be found”

I work in a Unity project(related to my research), particularly regarding Visual Scripting. I have encountered several issues, including missing imports, configuration difficulties, and confusion with node-based logic that has hindered my ability to implement the desired avatar behavior(fix the colliding avatars within the scene and when they spawn to a fixed position they collide, but that position relates to the 360 view.
To elaborate, my project relies on Spatial Interactable events and a series of Visual Scripting nodes to control avatar visibility. However, I am experiencing persistent errors in Visual Studio Code, such as missing namespace or import errors (for example, “The type or namespace name ‘SpatialAvatarController’ could not be found”). I have attempted to align my project with the official Spatial sample project, but I continue to struggle with configuring the proper package references and understanding the necessary flow versus data connections within the Visual Scripting graph.
Given your expertise in visualization and interactive systems, I was wondering if you might be able to advise me on how best to resolve these issues. Alternatively, if there is someone within the visualization department who has worked extensively with Visual Scripting or Spatial SDK integration, I would be very grateful if you could refer me to them.
I just want a way to hide the avatars because they move to the same position so that they are not visible. Additionally, is there a way to apply a similar approach to this so that avatars have physics or colliders so they can’t go through each other?
Additionally, for reference, I’m using unity(2021.3.21f1) and Spatial SDK(1.64.0), I will also include screenshots of my errors. The thing is that I want to publish, and some scripts are not compatible with spatial.io… Can anyone relate to the same issue??? Could anyone help? I tried everything, yet no solution.