Rider Tips and Tricks for Unity Development
summary
Adds double jump and three lives to a Unity sample, implements a shader that changes color by speed and alpha by health, and wires health to material properties so the avatar becomes transparent when hurt. Uses Rider to spot 300–400 B/frame allocations in Update, fixes string-to-property allocations with Shader.PropertyToID and eliminates per-frame GC by reusing MaterialPropertyBlock, converts costly Raycast calls to nonalloc versions, and uses an allocation viewer and Shader variant branch highlighting to find and fix hot-path issues.
AI-written summary · about
chapters (8)
- 0:00Introduction and gameplay
- 1:33Player character improvements
- 3:33Shader visual feedback
- 6:52Code optimization in Rider
- 11:46Performance profiling
- 15:26Heap allocation debugging
- 20:18Resolving runtime errors
- 23:26Advanced Rider features
related talks
29mWhat's new for Unity developers on macOS
49mMake Games with .NET using Visual Studio, Unity, and PlayFab
56mHidden Difficulties of Debugger Implementation for .NET WASM Apps
01h 09mBlazor Wasm Hot Reload Explained: Real-Time Dev with Rider
47mGamedev for the Bored .NET Developer
23mUsing .NET for game development
06h 37mDive Deep into Blazor, Razor Pages, ReSharper, Testcontainers & More (Day 1)
11h 22mJetBrains .NET Day Online '23
