Comments (7)
@SlightlyMad Seems like it might be a Metal issue. It runs fine in the editor (2017.3.0f3), but when I build I get the same error with BilateralBlur. I can fix the problem by removing Metal from the Graphics API. I do this by going to Edit->Project Settings->Player, go to "Other Settings", Uncheck "Auto Graphics API for Mac", and remove Metal from the list.
My exact error:
Invalid pass number (1) for Graphics.Blit (Material "Hidden/BilateralBlur" with 1 passes)
UnityEngine.Graphics:INTERNAL_CALL_Internal_BlitMaterial(Texture, RenderTexture, Material, Int32, Boolean, Vector2&, Vector2&)
UnityEngine.Graphics:Internal_BlitMaterial(Texture, RenderTexture, Material, Int32, Boolean, Vector2, Vector2)
UnityEngine.Graphics:Blit(Texture, RenderTexture, Material, Int32)
VolumetricLightRenderer:OnRenderImage(RenderTexture, RenderTexture) (at [path-to-project]/Assets/Vendor/Volumetric Lighting Assets/Scripts/VolumetricLightRenderer.cs:363)
from volumetriclights.
Having the same issue in Unity 2017.1.2f1.
from volumetriclights.
Also, the game some times is rendered either pink or black.
from volumetriclights.
Sorry guys for the late reply. I'm super busy. Did you figure it out? It is some weird Unity import issue. Manually reimporting the shaders should fix it.
from volumetriclights.
from volumetriclights.
Looks like #18 has a similar issue with BilateralBlur on Android. I also saw somewhere that someone with a PS4 build target had this problem. I wonder what the issue is?
from volumetriclights.
@gregcotten the error simply means that the shaders didn't compile. it is probably different problem on different platforms. the only "officially" supported platforms are directx and opengl. i would fix ps4 and metal but i don't have mac or ps4 devkit. and so it is impossible for me to guess the where the problem really is.
from volumetriclights.
Related Issues (20)
- Error when used with XBOX ONE as UWP App HOT 1
- Effect disabled after using light for baking HOT 1
- Not showing for newer mac versions. HOT 2
- Won't work on unity 2018.1.0b12 with Lightweight render pipeline HOT 3
- Things sometimes look dark (2017.3.1f1) HOT 2
- Dont work in unity 2018
- Works and displays perfectly in editor but invisible in a standalone Windows Build
- Changing shadow strength on a light affects volumetric shadows on another light
- Nothing with HD Render Pipeline HOT 2
- Doesn't work with Orthographic camera, unless near clipping plane is set very high
- Does not work on WebGL
- Add Support for VR HOT 1
- Volumetric light Disappears in Unity 2019.1 (old render pipeline not HDRP or LWRP) HOT 1
- Volumetric lights disabled in built package HOT 3
- Wont work in specific scene
- URP version?? HOT 1
- I get an error when playing
- Returning black screen in release builds. HOT 1
- Build a package
- Volumetric lighting disappears when spot light doesn't collide with anything? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volumetriclights.