Skip to content

Fix Unity 6 compile errors: remove testframework.graphics and guard removed CompatibilityMode API - #182

Merged
sakumanaoki merged 3 commits into
mainfrom
bugfix/unity_6004_error
Apr 2, 2026
Merged

Fix Unity 6 compile errors: remove testframework.graphics and guard removed CompatibilityMode API#182
sakumanaoki merged 3 commits into
mainfrom
bugfix/unity_6004_error

Conversation

@sakumanaoki

Copy link
Copy Markdown
Contributor

概要

Unity 6000.4 へのアップグレード時に発生するコンパイルエラーを修正しました。

CompatibilityMode API の廃止対応

Unity 6000.4 で Render Graph の Compatibility Mode が廃止され、関連する API (enableRenderCompatibilityMode, レガシーな Execute メソッド) が削除されました。Distortion 関連の3ファイルで #if UNITY_6000_4_OR_NEWER を使い、該当コードを除外しています。

確認したこと

  • 2022.3でテストが通ること
  • 6000.3, 6000.4でコンパイルエラーが出ず、テストが動くこと

Comment thread Assets/Nova/Runtime/Core/Scripts/ScreenSpaceDistortion.cs
Base automatically changed from bugfix/unity_6003_error to main April 2, 2026 07:26
@sakumanaoki
sakumanaoki merged commit 848eebd into main Apr 2, 2026
1 check passed
@sakumanaoki
sakumanaoki deleted the bugfix/unity_6004_error branch April 2, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants