Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug error X4571: vs_4_0 output limit (16) exceeded, shader uses 18 outputs.

Discussion in 'Visual Effect Graph' started by SniperED007, Jul 6, 2022.

  1. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    318
    When I try do a standalone build it throws the following error:

    Output Particle Lit Mesh': Program 'VertVFX', error X4571: vs_4_0 output limit (16) exceeded, shader uses 18 outputs. at line 10476 (on d3d11)

    The VFX Graph and Shader I use work perfectly in the editor but throws the above error when doing a build.

    Looks like it's the same bug as this:
    Unity Issue Tracker - [Windows] FlexibleFire Shader Graph throws an error when attempting to build the project (unity3d.com)

    I tested it on Unity 2021.3.5f1 with VFX Graph 12.1.7
    Will this fix be added to the 2021 LTS and if so when, and if not why?
     
    bakanahitonotyanneru likes this.