Default VFX Graph is not appearing/rendering

Sorry for the new post with same problem. I just realized that there is a visual effects section. I am using 2019.3.0f6 (was the same result in 2019.3.0f5). I create a default visual graph, and i drag into scene then nothing happens. I started the new projects with the HDRP option.(I remember trying to import to a built-in renderer, wasn’t working either). If i download VFX samples, they are working, but i can’t make my own VFX Graphs. I tried to assign rendering asset, zoom in/out, decompile tons of time, changing the default textures, tweak the size options, update the graphic card driver (GeForce GT840m). I couln’t find a list or somethings that can block the VFX. What can be the problem ?

Hi @BikaYoBadi ,
Are there any console errors? For the VFX Samples, if you open and recompile a sample which you have confirmed is playing, does it stop to play?

I assume you opened and recompiled the default VFX? (we had an earlier issue where the initial effect needs to be opened once in a brand new project for it to compile the necessary shaders before it can play, though that should be resolved in the newest version).

And correct, the VFX Graph is intended to be used with HDRP and URP.

If nothing else works, we just released the 7.2.0 package, so you can upgrade HDRP to the latest and see if you are still experiencing the issue.

If you are, please file a bug and we’ll take a look.

1 Like

Thank you for the return.

There are no console errors. For the VFX samples, bonfire, flames and smokes are working. (I compiled and result is the same.) I am not sure about sparkles because it looks like it is working at the start, but it becomes kind of buggy and big, then disappears. Lightning is not working, same with the default visual effect graph. They are not appearing in their asset previews in the inspector as well. I tried these in Unity 2019.3.1f1 with HDRP 7.2.1.
I also tried 7.2.0 yesterday as you said, and the result was the same.

I am really curious how people is not having this issue. I tried VFX Graph with an another laptop, thinking that my laptop has a problem, but it was the same on that laptop, too. Can this be a laptop issue or what could you suggest more ? Thanks in advance again.

Interesting, perhaps you can file a bug from Help - Report a bug and attach your project so we can investigate?

I will try, but if you don’t have this problem, won’t it work in your pcs since i am just creating a new HDRP project ? Can this be any difference amonst different pcs while creating new projects ?

Hi mate I think we have a same problem.In my unity when I disable lifetime component vfx starts to spawning particles however when I enable lifetime component it stops spawning.Could you try to disable lifetime component on your vfx which you created by yourself.

3 Likes

Nice catch. It is interesting that it works only if it is disabled. Removing is useless. At least, we know the problem now, but we need them to have a lifetime to keep it creating. I hope Mr. Vlad can help us.

1 Like

A few days ago I sent my repro project to unity report system from editor and they turned me.They said we looked your project project but unfortunately a bug didnt occur on your project.They wanted steps from me so yesterday I made took this video for them
https://www.youtube.com/watch?v=ZTpkW9_jnGU
.I hope they will found a solution as soon as possible =).

1 Like

I had got really excited for VFX as i was for shader graph. I also hope it can be fixed very soon.

1 Like

Hi @Batuhan13 ,

I just tried the same steps on 2019.3.1f1 / 7.1.8 and cannot reproduce the issues with the lifetime component.
It seems that you and @BikaYoBadi might be experiencing something quite specific, and possibly hardware-related.

Can you both please share your computer specs and operating systems? Also, @Batuhan13 , can you please share the compiled VFX of the default system (so it has its compute shaders nested within the VFX asset) when it’s not running (i.e. when you have Set Lifetime present) so we can compare the code?

Thank you both in advance!

Good morning Mr Vlad
Here is my pc specs
Cpu:Intel® Coffee Lake Core™ i7-9750H
Gpu:6GB GDDR6 nVIDIA® GeForce® GTX1660 Ti 192-Bit DX12
Ram:16GB (2x8GB)
Os:Windows10
Here link of my default vfx

In addition I am using kaspersky anti virus program can this bug occuring because of antivirus?Meanwhile I closed the antivirus but it is still same =/
Have a good day Mr Vlad.

Hi,
Intel Core i3 4100m
NVIDIA GEFORCE Gt840m
4 gb ram
Windows 10 Single Language

@Batuhan13 Are you using a laptop ? I still suspect about laptops.

Yes I am using laptop but I think it is not about laptop I guess

Great, thanks to both of you, we’ll take a look!

1 Like

Hi again,
The shader code for the effects look identical (minus the capacity difference) to a default system for me, and the one with the lifetime plays fine on my machine.

Let’s try something different. @Batuhan13 , in your video, when you opened the smoke or the fire samples, the effects broke. This looked a bit like a GPU sorting issue we had on OSX a while ago; could you try disabling the GPU sorting of the affected systems by selecting their output(s) and in the inspector setting Sort to Off?

5514976--566149--h4AMcFjum6.gif

4 Likes

Wow thanks Mr.Vlad it works great =) but could I ask one more question.As you write it is a gpu sorting bug should I do somethink for fix this bug or should I wait for next upgrades Thanks again =).

Hi @Batuhan13 , you are welcome! :slight_smile: And yes, this was not a solution, just a temp workaround until we have managed to look into it. On that note, are your GPU drivers up to date?

And @BikaYoBadi , when you have a moment, could you please see if the disabling sorting as per my previous post resolves the issue for you? If so, we can hopefully narrow down the issue.

Also it seems like both of you are experiencing the issue with DX11; I wonder if it still happens on DX12 or Vulkan?

Good morning Mr Vlad I hope you well =) .Today I checked my gpu driver update but my gpu driver had already update to latest version. So I changed my graphic api to vulkan but unfortunately same error occured again after that I changed my graphic api to dx12 but my unity crashed perpetually so I had not a chance to try that with DX12 .In addition I found one more bug .If I decrease spawn rate lower than ~5 when lifetime component enabled ,the particles become invisible and visible between short times like hearthbeat .Here I took a video =)
https://www.youtube.com/watch?v=7XLRsmB6ZQM
Have a good day =)

1 Like

I could get it playing with the sort off, too. Also, i have that under 5 particle problem.

Thank you both very much! We’ll have to get our hands on your specific GPUs, but this has given us a good starting point. The bug is logged, and you can track it here: Unity Issue Tracker - [Localization] Certain characters in the VFX shaders are switched in some localizations, leading to errors.

Thanks again! :slight_smile:

2 Likes