Skip to main content
GameDev.net gamedev.net
Video Content

This is video content from The GameDev Guru. The summary highlights key points - watch the full video for complete context.

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

The GameDev Guru
The GameDev Guru Video
· 2 months, 1 week ago • Ruben

2026.06 - PSO (Pipeline State Object)

Briefing

Shader hitches are no longer just a shader problem on modern Unity targets. With DirectX 12, Vulkan, and Metal, the engine is dealing with full Pipeline State Objects: the shader plus the surrounding GPU state, including vertex layout and other render-state details. That means a single distinct PSO can trigger driver-level compilation, and if it happens at the wrong moment, the player feels it immediately.

The practical goal is straightforward: move as much compilation as possible out of gameplay and into loading or other controlled phases. In practice, that means profiling a development build for markers like Create GPU Program and enabling shader-compilation logging before chasing the wrong culprit. If a hitch disappears on a clean rerun, that does not prove the problem is gone; Unity and driver caches can mask the issue, so cache clearing and even a reboot may be needed to reproduce it reliably.

The broader takeaway for teams is that newer graphics APIs buy you control and performance potential, but they also add validation work that rarely shows up in a feature roadmap. PSO warm-up, cache-miss testing, and fallback paths become part of shipping discipline, especially when experimental APIs or Addressables complicate the loading flow. The exact implementation details vary, but the operational burden is real: if you do not budget for PSO management early, you end up paying for it in frame-time spikes later.

“Your job is simple: move every possible compilation out of gameplay and into a loading phase.”

— Unity graphics guidance · Core recommendation for avoiding runtime hitches
At a glance
what
Unity projects on DX12, Vulkan, and Metal must manage Pipeline State Object compilation, not just shader variants.
who
Unity developers and graphics programmers shipping on modern GPU APIs.
when
The guidance is framed around Unity development in 2026.06.
impact
PSO compilation can hitch during gameplay unless it is moved into loading and validated with cache-clearing tests.
Signal Mixed

Useful guidance, but more validation work and hitch risk

Discuss

Follow Unity updates

See relevant stories in your personalized news feed.

Sign in to follow

Continue on GameDev.net

Useful next steps related to this story.

Game development news without the noise

One useful weekly briefing. No daily flood.

Sending your confirmation email…

Discussion

Loading comments...

Recommended resources

Game Engines

See full guide
Unreal Engine 5 Best Practices cover
Editor pick

Unreal Engine 5 Best Practices

Amazon · Book

Written by multi-award-winning Unreal generalist Tyson J. Butler-Boschma, Founder and Creative Director of Toybox Games Studios, this book addresses common challenges you face when advancing your expertise in lighting, environment design, and cinematic storytelling.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.