Dustyroom / flat-kit-doc

Documentation of the Flat Kit asset.
https://flatkit.dustyroom.com
Apache License 2.0
2 stars 1 forks source link

OUTPUT_SH4 Error still occuring with FlatKit 4.7.0 installed and Unity 6.0.8 #114

Open davidjsap opened 1 month ago

davidjsap commented 1 month ago

Describe the bug I am using Unity 6.0.8, and have FlatKit 4.7.0 installed, yet I am getting the OUTPUT_SH4 Error, and FlatKit shaders will not compile. It says this bug was fixed with FlatKit 4.6.1.

Unity details:

Build platform:

vdzitsiuk commented 1 month ago

Hi, could you please let us know the following?

dustyroom-studio commented 1 month ago

Hi,

Here's what might help: open Assets/FlatKit/Shaders/StylizedSurface/LibraryUrp/LitForwardPass_DR.hlsland change the line 191 to #if UNITY_VERSION >= 60000009.