Another huge update for Unity
Our Unity support took one more giant leap in this release,
with some very exciting new features.
First, we’ve introduced performance indicators. Rider will highlight
event functions that are called each frame, such as Update, FixedUpdate,
and LateUpdate, as well as coroutine methods.
Second, we’ve extended our Find Usages with data pulled from Unity scenes,
assets, and prefabs. If you search for a class or method used as an event handler,
Rider will show where it’s used in your Unity files, grouped by type,
component name, and parent game objects. Even better, double clicking the item will
highlight the usage directly in the Unity Editor.
Pulling this information from Unity files also means that Rider will now correctly
highlight event handler methods as being implicitly used. We’ve moved the
implicit usage highlights from the text editor gutter icons and
turned them into Code Vision links, so you can see at a glance what
classes, methods, and fields are implicitly used by Unity. And clicking the link
will find those usages, even inside Unity files.
The debugger learned more about Unity, too, and is now able to show
extra data for Unity objects. It can also give you data for raw
pointers, which is helpful for examining native containers in ECS jobs.