wave-harmonic / crest

A class-leading water system implemented in Unity
MIT License
3.4k stars 475 forks source link

Error of Does not exist some Classes. #1133

Closed yamanekaito0630 closed 10 months ago

yamanekaito0630 commented 10 months ago

Is there an existing issue for this?

Have you checked the documentation to resolve your problem?

Current Behavior

I purchased this asset from Unity Asset Store but I get some error:

Assets/Crest/Crest/Scripts/Helpers/FloatingOrigin.cs(241,127): error CS0103: The name 'FindObjectsByType' does not exist in the current context Assets/Crest/Crest/Scripts/Helpers/FloatingOrigin.cs(241,156): error CS0103: The name 'FindObjectsSortMode' does not exist in the current context ..... Assets/Crest/Crest/Scripts/Helpers/FloatingOrigin.cs(256,135): error CS0103: The name 'FindObjectsByType' does not exist in the current context Assets/Crest/Crest/Scripts/Helpers/FloatingOrigin.cs(256,169): error CS0103: The name 'FindObjectsSortMode' does not exist in the current context

I want to use this assets system. What should I do? Thanks.

Expected Behavior

No response

Steps To Reproduce

  1. Create New Project
  2. Import this asset (Crest Ocean System)
  3. End...

Unity Version

2021.3.17f1

Crest Version

4.19

Render Pipeline

Built-In

Editor or Standalone

Editor (Edit Mode), Editor (Play Mode), Standalone

Environment

- OS: Ubuntu 20.04.6 LTS
- GPU: NVIDIA Corporation GP104[GeForce GTX 1080]
- Graphics API: Vulkan
- Target Platform: Linux

Anything else?

No response

daleeidd commented 10 months ago

Upgrade Unity to latest 2021 patched version. This requirement could've been communicated better so apologies for the trouble.