pastasfuture / com.hauntedpsx.render-pipelines.psx

A scriptable render pipeline for emulating Playstation-1-style graphics on contemporary hardware.
https://twitter.com/HauntedPs1/
MIT License
380 stars 26 forks source link

Pink textures in a build. #41

Open IntoTheDev opened 5 months ago

IntoTheDev commented 5 months ago

Everything works fine in the editor but in a build all textures are pink. I have this problem in both main project and completely new project. Followed install guide in a wiki.

Also found this post on the reddit with same problem: https://www.reddit.com/r/Unity3D/comments/1aofy9p/textures_not_showing_when_building_hpsxrp_but/

Editor image

Build image

Tried to add shader to Project Settings > Graphics > Always Include Shader but now I'm getting this error: PSX/PSXLit has too many Shader variants (4423644). To resolve this, go to Project Settings > Graphics and remove this Shader from the Always Included Shaders list. For more explicit control over how Unity includes specific Shader variants in a build, use a ShaderVariantCollection.

Problem persists with Volume and without it.

Unity version: 2023.1.10f1 Package version: 1.7.0

upd: Just saw that my unity version isn't supported. Is there a way to add support for newer versions of unity?

tahacorbaci commented 4 months ago

This should fix the problem #42

IntoTheDev commented 4 months ago

This should fix the problem #42

We've already switched to URP, but thanks for info anyway!