0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Unity6.3に上げたら自作のRendererFeatureが効かなくなった件の対策

Last updated at Posted at 2025-12-06

先週リリースされたUnity6.3。
喜び勇んで入れてみたところ早速タイトル画面が壊れました;

何でや・・・とFrameDebuggerを確認したところ、
背景やキャラのアウトラインも効いていないし、何か描画パスも少ないし、
どうやら自作したRendererFeatureが軒並み動かなくなっているっぽい??

image.png
↑アウトラインが効いていないキャプチャ

「ははぁ、これはRendererFeatureが怪しいな?」と色々触っていると警告が出ていることに気づきました
image.png

The render pass ScreenPocket.Graphics.DrawOutlineRendererFeature+Pass does not have an implementation of the RecordRenderGraph method. Please implement this method, or consider turning on Compatibility Mode (RenderGraph disabled) in the menu Edit > Project Settings > Graphics > URP. Otherwise the render pass will have no effect. For more information, refer to https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest/index.html?subfolder=/manual/customizing-urp.html.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

おや、何とRenderGraphのコンパチビリティ(非RenderGraphのRendererFeatureでも動かせられる)モードが無効になってしまっているとの事。

なるほど、確かにそろそろ移行する話は聞いていたけれども、とうとうその時が来たかぁ。
けどまぁそれはそれとして、コンパチビリティモードを有効化しなきゃ…という事でProjectSettings>Graphics>URP の欄を確認

image.png

「コンパチビリティモード切替トグルが無い」 んじゃが・・・
と、インフォメーションを読むと、

  • Unity6.3からコンパチブルモードを隠したぜ!
  • コンパチブルモードのコード自体をStripする事でビルドサイズも抑えたぜ!
  • どうしても復帰したいなら URP_COMPATIBILITY_MODE シンボルを追加してくれよな!

という事でナビゲート通りに ProjectSettings>Player>シンボル に URP_COMPATIBILITY_MODE を追加
image.png

とする事で、項目が復帰され↓
image.png

無事にゲーム画面も復帰することが出来ました!↓

はー、焦った。
Unity6.4からはRenderGraph対応を必須化する事もあって「そろそろRenderGraph対応をしておけよ」というお達しという事でしょう。

実は裏で作っている作品ではとっくにRenderGraph対応完了済みなのですが、本タイトルに関しては古いオレオレライブラリを使い続けているのですよね。今後を考えると、RenderGraph部分だけでもパッチ対応をした方が良いように思いました。

古いタイトルをUnity6.3に上げようとしている方はご注意ください

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?