Skip to content

[UUM-137643] Fix compilation errors and warnings#627

Open
mfe wants to merge 6 commits intomainfrom
UUM-137643_fix_coreclr_errors
Open

[UUM-137643] Fix compilation errors and warnings#627
mfe wants to merge 6 commits intomainfrom
UUM-137643_fix_coreclr_errors

Conversation

@mfe
Copy link
Copy Markdown
Collaborator

@mfe mfe commented Mar 24, 2026

Purpose of this PR

Ticket/Jira #: UUM-137643

Compilation errors in the console:
error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead.

Warnings:
Logs: C:\build\output\unity\com.unity.recorder\com.unity.recorder\Editor\Sources\BaseTextureRecorder.cs(167,92): warning CS0618: 'FindObjectsSortMode' is obsolete: 'FindObjectsSortMode has been deprecated. Use the FindObjectsByType overloads that do not take a FindObjectsSortMode parameter.' (C:\build\output\unity\com.unity.recorder\com.unity.recorder\Editor\Sources\BaseTextureRecorder.cs:167)

Also replaced renderPipelineAsset by defaultRenderPipeline.

Testing

Functional Testing status:

Performance Testing status:

Overall Product Risks

Complexity:

Halo Effect:

Documentation & UX Writing

User facing text to review Details
User interface
Public API docs
Changelog
Documentation halo effect Jira link
User manual
Other docs

Additional information

Note to reviewers:

Reminder:

  • Add entry in CHANGELOG.md
  • check defaultRenderPipeline availability - Was introduced as early as 2019.4 so before our minimal supported version (21.3)
  • Wait for Recorder 5.1.6 to be released (see UUM-137641 - Cf Recorder tests

@mfe mfe changed the title Upgrade editor versions in CI [UUM-137643] Fix compilation errors and warnings Mar 24, 2026
@mfe mfe marked this pull request as ready for review March 24, 2026 16:06
@mfe mfe requested review from a team as code owners March 24, 2026 16:06
@mfe mfe force-pushed the UUM-137643_fix_coreclr_errors branch from b8c4202 to 52abb9f Compare April 3, 2026 14:02
…stead of int for improved compatibility and precision. Update related collections and methods accordingly.
@@ -1,24 +1,24 @@
test_editors:
- version: 2021.3
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

shouldn't we also remove this and upgrade the minimum unity version to 6000.0?

Same with romotion_test_editors

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It's the minimum version of the package, so we have to keep the job for promotion.

Copy link
Copy Markdown
Contributor

@LeoUnity LeoUnity left a comment

Choose a reason for hiding this comment

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

Changes looks good to me, we do have a test failure on win trunk unfortunately.

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