Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FindObjectsSortMode #1140

Closed
2 tasks done
Xue1iang opened this issue Nov 20, 2023 · 3 comments
Closed
2 tasks done

FindObjectsSortMode #1140

Xue1iang opened this issue Nov 20, 2023 · 3 comments
Labels
Milestone

Comments

@Xue1iang
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Have you checked the documentation to resolve your problem?

  • I have read the linked documentation and could not resolve my issue.

Current Behavior

  1. Assets/Crest/Crest/Scripts/OceanRenderer.cs(1897,52): error CS0103: The name 'FindObjectsSortMode' does not exist in the current context
  2. Assets/Crest/Crest/Scripts/OceanRenderer.cs(1897,24): error CS0103: The name 'FindObjectsByType' does not exist in the current context
  3. Assets/Crest/Crest/Scripts/OceanRenderer.cs(1896,62): error CS0103: The name 'FindObjectsSortMode' does not exist in the current context
    ......

About 20 errors related to FindObjects

Expected Behavior

No response

Steps To Reproduce

No response

Unity Version

2021.3.3f1

Crest Version

4.19

Render Pipeline

High Definition

Editor or Standalone

Editor (Edit Mode)

Environment

- OS:Ubuntu 20.04
- GPU:RTX 3060
- Graphics API:Vulkan (1.2.131.1+dfsg1-1)
- Target Platform: PC

Anything else?

No response

@Xue1iang
Copy link
Author

Problem solved

@daleeidd
Copy link
Collaborator

For anyone else... always use the latest patched version of Unity.

@daleeidd daleeidd pinned this issue Nov 20, 2023
@daleeidd daleeidd added this to the 4.20.1 milestone Apr 30, 2024
@daleeidd
Copy link
Collaborator

We reverted usage of these APIs in 4.20.1 so should no longer be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants