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 VFX keep flickering on/off

Discussion in 'Visual Effect Graph' started by Botaurus, Jul 25, 2023.

  1. Botaurus

    Botaurus

    Joined:
    Feb 20, 2013
    Posts:
    81
    I can't figure out why my VFX keep flickering. The entire vfx setup turns off/on as the game camera centers over it. If the scene camera (in the editor) has all the VFX assets in view, they don't flicker. In the build, the flicker happens. I've made sure the bounding boxes are setup. Any idea what it could be? Is this a bug? I've attached a gif of the issue.
    any help much appreciated, thank you

    upload_2023-7-24_16-17-11.png upload_2023-7-24_16-17-20.png
     

    Attached Files:

    Last edited: Jul 25, 2023
  2. OrsonFavrel

    OrsonFavrel

    Unity Technologies

    Joined:
    Jul 25, 2022
    Posts:
    128
    Do you think that you could share a small unity package with your VFX? It might be hard to help you without reproducing on my end.
     
  3. Botaurus

    Botaurus

    Joined:
    Feb 20, 2013
    Posts:
    81
    I'll try to reproduce it in a new project this week, but I figured it out, it was the 'Culling Flags'. It appears to change when you switch 'Bounds Mode' to 'automatic', but it doesn't switch back when returning bounds mode to Recorded/Manual, so its easy to end up with an unintended settings change

    thanks for the reply

    upload_2023-7-25_6-37-41.png
     
  4. gabriel-delacruz

    gabriel-delacruz

    Unity Technologies

    Joined:
    May 19, 2021
    Posts:
    31
    Glad to hear that you found a workaround, but it shouldn't flicker with that configuration either.
    A repro + the version you are using would be very helpful.
    Thanks!
     
  5. Botaurus

    Botaurus

    Joined:
    Feb 20, 2013
    Posts:
    81
    We're on unity 2022.3.3f1, but I was unable to reproduce in a new project. I'll submit a bug report with our full project
     
    gabriel-delacruz and OrsonFavrel like this.
  6. OrsonFavrel

    OrsonFavrel

    Unity Technologies

    Joined:
    Jul 25, 2022
    Posts:
    128
    Thanks