Skip to content

Fix color tone mismatch between test images and the actual scene#172

Merged
sakumanaoki merged 4 commits into
mainfrom
bugfix/update_test_lit_asset
Nov 10, 2025
Merged

Fix color tone mismatch between test images and the actual scene#172
sakumanaoki merged 4 commits into
mainfrom
bugfix/update_test_lit_asset

Conversation

@sakumanaoki
Copy link
Copy Markdown
Contributor

概要

Test_Litシーンにて、Scene上の画像とTestRunnerにより生成される画像の色味が異なっていました。
それにより、Unity6でTestRunnerを回した時に、コケてしまっていました。

問題

2022.3系では、LightingDataがないと前回のSceneのLight情報を引き継いでしまいLightが反映されなかったからになります。

解決

該当のSceneでLightingDataをベイクしました。
また、TestUnlitはテストがコケていませんでしたが、LightingDataがなかったため同様にベイクを行いました。

動作確認

対応前

右がScene、左がTest用の画像になります。
色味が異なるのがわかります。

Before

対応後

色味が同じになっています。

After

確認したこと

  • 2022.3, Unity6環境でTest_LitTest_Unitのテストが通ること
  • Sceneとテスト用の画像で色味が同じなこと

@sakumanaoki sakumanaoki merged commit 2a74dee into main Nov 10, 2025
1 check passed
@sakumanaoki sakumanaoki deleted the bugfix/update_test_lit_asset branch November 10, 2025 08:05
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