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.
  2. Dismiss Notice

Bug Visual script throwing warnings

Discussion in 'Visual Effect Graph' started by Lylithrea, Jun 12, 2023.

  1. Lylithrea

    Lylithrea

    Joined:
    Oct 22, 2018
    Posts:
    2
    So i just upgraded my project from unity 2021 LTS to unity 2022 LTS, and while the visual effect seems to be working and no issues can be found, the VFX is throwing out warnings.
    When i create a new VFX and is completely empty (except on starter nodes) it still throws the warnings of the VFX.
    Im using unity 2022.3.1f1, and URP
    Anyway to fix this?


    upload_2023-6-12_14-22-4.png
    upload_2023-6-12_14-22-17.png
     
    Qriva likes this.
  2. Qriva

    Qriva

    Joined:
    Jun 30, 2019
    Posts:
    1,108
    I want to know too how to get rid of this.
     
  3. PaulDemeulenaere

    PaulDemeulenaere

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    134
    Hello,
    This warning is a known issue and doesn't have any other effect than polluting the log windows.
    The backport is in progress, you can track it here.

    If you are using a editable local package, the problem is actually located in VFXCommon.hlsl, removing comments or move the backslash to the end of line (using C Style comments instead of single line) would solve it.
     
    Vita- and Qriva like this.