I have problems finding and bookmarking the authoritative documentation and scripting references for packages, for Unity Tech Stream and LTS versions since 2021 and later (but seems to affect Unity 2019 and later).
For example, for UnityEngine.UI, there is no recent documentation I can find - the last is for Unity 2018 here:
Alas, when clicking on the (formerly quite helpful!)
,
that brings me to the most recent scripting reference, but that no longer contains any documentation for the UnityEngine.UI package.
This problem is compounded for some of the more modern packages, such as Unity.mathematics; where only obscure or very old versions can be found. For instance:
https://docs.unity3d.com/Packages/com.unity.mathematics@0.0/api/Unity.Mathematics.Random.html
os for Version “0.0” of Unity.mathematics.
brings us to a completely different page, that is actually not even a scripting reference, just a basic usage overview.
Curiously / comically, docs.unity.cn has the newer scripting reference:
Struct Random | Mathematics | 1.2.6
structure, but of course is painfully slow to browse because China is on the other side of the world for many of us.
The expected equivalent on docs.unity.com
https://docs.unity.com/Packages/com.unity.mathematics@1.2/api/Unity.Mathematics.Random
returns a 404.
Google sure doesn’t seem to have it indexed, either, only the Chinese versions. With some digging, you can find the right page here, but, and this is pretty bad, the full text search field in the top right for the documentation doesn’t seem to have indexed its contents, only the class names and only when you get the precise prefix right, and finding functions by name is impossible (either finds nothing, or highly unspecific, poorly formatted results).
(if it is a Google Site Search, this may be related - but the loss of usability is massive)