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.

Question VisualEffects SetFloat value not found

Discussion in 'Visual Effect Graph' started by Vyacheslav_Vasilev, Sep 21, 2022.

  1. Vyacheslav_Vasilev

    Vyacheslav_Vasilev

    Joined:
    Aug 3, 2019
    Posts:
    1
    Hi,

    After trying re-importing whole project (for ex. after remove library project or trying build), i started getting error messages: Value of name 'Property' was not found. This error appears when I try to set property values, for example via visualEffect.SetFloat(PropertyId, Value).

    In similar topics, people write that the problem may be that the vfxGraph property does not have the type that is passed through the code. In my case, everything is fine. I have float value type property in vfx graph and trying use SetFloat in C# code.

    Unity 2022.1.14f1, HDRP 13.1.8, visual effect graph 13.1.8.

    Same issues:
    https://forum.unity.com/threads/can...sual-effect-tansform-property-in-code.828315/
    https://forum.unity.com/threads/urp-cant-access-vfx-exposed-value.925943/
    https://stackoverflow.com/questions...how-can-i-programatically-play-stop-an-effect

    Can this be fixed?

    Thanks.