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

Not working on PS4 #211

Closed
TPetersonWayforward opened this issue Apr 24, 2020 · 2 comments
Closed

Not working on PS4 #211

TPetersonWayforward opened this issue Apr 24, 2020 · 2 comments

Comments

@TPetersonWayforward
Copy link

Good day yall,

I'm having a bit of an issue with PS4 builds, unfortunately all the shaders in this package are failing in a ps4 build. I see lots of errors and warnings around 750 warnings and 8 errors regarding the shaders in the package.

All pretty much the same things, 2 errors for each shader, for example:

-------
Shader error in 'Hidden/UITransition': Program 'frag', ambiguous call to 'lerp'. Found 91 possible candidates: at /Projects/Game/PS4/Packages/com.coffee.ui-effect/Resources/UIEffect.cginc(263) (on ps4)

Compiling Fragment program with DISSOLVE
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
------

and this one:

------
Shader error in 'Hidden/UITransition': Program 'vert', ambiguous call to 'lerp'. Found 91 possible candidates: at /Projects/Game/PS4/Packages/com.coffee.ui-effect/Resources/UIEffect.cginc(263) (on ps4)

Compiling Vertex program with UNITY_UI_ALPHACLIP CUTOFF
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
------

and then tons of warnings all saying stuff along the lines of:

------
Shader warning in 'Hidden/UITransition': Program 'frag', or      : lerp(column_major float2x4 a, row_major float2x4 b, float d) (on ps4)

Compiling Fragment program with UNITY_UI_ALPHACLIP
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR
------

I'm using this package in a few places, and I'd hate to have to give it up in the game I'm making, but I need PS4 builds to work. Please let me know if these can be addressed.

@mob-sakai
Copy link
Owner

This article will fix the problem on PS4.
https://forum.unity.com/threads/shader-error-ambiguous-lerp.547711/

NOTE: I don't have a development environment for PS4.

@mob-sakai mob-sakai self-assigned this May 11, 2020
@mob-sakai mob-sakai added the bug label May 11, 2020
mob-sakai added a commit that referenced this issue May 11, 2020
github-actions bot pushed a commit that referenced this issue May 11, 2020
# [4.0.0-preview.7](v4.0.0-preview.6...v4.0.0-preview.7) (2020-05-11)

### Bug Fixes

* not working on PS4 ([0f595eb](0f595eb)), closes [#211](#211)
* Shaders.meta file should be removed ([e9cc165](e9cc165)), closes [#210](#210)
github-actions bot pushed a commit that referenced this issue May 11, 2020
# [4.0.0-preview.7](v4.0.0-preview.6...v4.0.0-preview.7) (2020-05-11)

### Bug Fixes

* not working on PS4 ([0f595eb](0f595eb)), closes [#211](#211)
* Shaders.meta file should be removed ([e9cc165](e9cc165)), closes [#210](#210)
@github-actions
Copy link

🎉 This issue has been resolved in version 4.0.0-preview.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

kekouyang pushed a commit to kekouyang/UIEffect that referenced this issue May 5, 2023
# [4.0.0-preview.7](mob-sakai/UIEffect@v4.0.0-preview.6...v4.0.0-preview.7) (2020-05-11)

### Bug Fixes

* not working on PS4 ([0f595eb](mob-sakai@0f595eb)), closes [mob-sakai#211](mob-sakai#211)
* Shaders.meta file should be removed ([e9cc165](mob-sakai@e9cc165)), closes [mob-sakai#210](mob-sakai#210)
AwfulDarkness0110 added a commit to AwfulDarkness0110/UIEffect that referenced this issue Jun 28, 2023
# [4.0.0-preview.7](mob-sakai/UIEffect@v4.0.0-preview.6...v4.0.0-preview.7) (2020-05-11)

### Bug Fixes

* not working on PS4 ([0f595eb](mob-sakai/UIEffect@0f595eb)), closes [#211](mob-sakai/UIEffect#211)
* Shaders.meta file should be removed ([e9cc165](mob-sakai/UIEffect@e9cc165)), closes [#210](mob-sakai/UIEffect#210)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants