wave-harmonic / crest

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

Sphere Water Interaction not working in standalone build #1098

Closed daleeidd closed 1 year ago

daleeidd commented 1 year ago

Is there an existing issue for this?

Have you checked the documentation to resolve your problem?

Current Behavior

SWI work in the editor but not in a build.

Expected Behavior

No response

Steps To Reproduce

No response

Unity Version

2020.3.40f1

Crest Version

4.16

Render Pipeline

Built-In

Editor or Standalone

Standalone

Environment

No response

Anything else?

No response

daleeidd commented 1 year ago

SWI uses GPU instancing which will be stripped from builds if nothing else uses instancing. Scroll to Using shader variants with GPU instancing in the following for instructions to prevent stripping: https://docs.unity3d.com/Manual/gpu-instancing-shader.html

mertboi commented 1 year ago

I have the same issue on URP, not working in build

daleeidd commented 1 year ago

Fixed in 4.17.