Skip to content

Conversation

vincent-breysse
Copy link
Contributor

@vincent-breysse vincent-breysse commented Sep 13, 2021

Enable HRV2 by default for DOTS 0.5 since HRV1 will be removed.

This PR is completing (or rather reworking) the V1 that can be found here #5507
Unfortunately, we noticed a bit too late that more asmdef files had to be updated

Testing status

This change is supposed to be tested with HRV1 removed on a project not defining ENABLE_HYBRID_RENDERER_V2 explicitly in the ProjectSettings.
Since HRV1 removal has not landed on DOTS master yet, I tested by locally adding the same asmdef change to the file com.unity.rendering.hybrid/Unity.Rendering.Hybrid/Unity.Rendering.Hybrid.asmdef. This is to ensure I wasn't testing with the define enabled globally for the project, which would be pointless.

  • 2020.3/partner/staging (bc0db7ac94bdb504a4d9cb8e0ab8f891b5fc25ec)
  • DOTS master (82663ca7a46d2bceaa346e5b4a34468276a826b3)

Changelog

com.unity.rendering.hybrid

  • Added: Define ENABLE_HYBRID_RENDERER_V2 by default for Hybrid Renderer 0.14.0 and newer

@vincent-breysse vincent-breysse changed the title [10.x] Define ENABLE_HYBRID_RENDERER_V2 by default for Hybrid Renderer 0.14.0 and newer [Part 2] [10.x] Define ENABLE_HYBRID_RENDERER_V2 by default for Hybrid Renderer 0.14.0 and newer [V2] Sep 13, 2021
@vincent-breysse
Copy link
Contributor Author

Needs to be forward ported once we can test DOTS with SRP 11/12. Currently, the latest editor version compatible with DOTS is 2020.3/partner/staging, which is only compatible with SRP 10

Copy link
Contributor

@PaulDemeulenaere PaulDemeulenaere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🟢

"name": "com.unity.rendering.hybrid",
"expression": "0.14.0-preview.0",
"define": "ENABLE_HYBRID_RENDERER_V2"
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It impacts the usage of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants