[Unity 2022.3] New scripts are not recognized and cannot be referenced

I happen to be a Unity expert and have been using this linked solution for 4+ months. It does in fact resolve the issues mentioned here and works pretty well out of the box after cursor has been selected in Unity preferences.

Some issues may still occur if intellisense of some editor service crashes, runs out of memory, but you should be able to find those issues in logs. Also note that the way you open Cursor to the Unity project also affects if it loads normally or not.

The links leads to some random person’s a fork of “Code Editor Package for Visual Studio”, originally this:
https://docs.unity3d.com/Packages/[email protected]/manual/index.html

While there is no official package, it seems that this is the easy choice for many (170 stars on that repo). It’s also been mentioned in this blog post:

I’ve checked the git history of fork and didn’t see any suspicious changes like backdoors or keyloggers so far, but I would be wary of this convenience as nothing would prevent this anonymous author from adding malicious code to it in the future to benefit from its popularity.

Unity hasn’t bothered to create an official version yet, but better move to the official version which should become available once Unity realizes what’s happening in the coding world and publishes their official Cursor extension.