Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Cancelling DisplayDialog because it was run from a thread that is not the main thread: (bug)

Discussion in 'Visual Effect Graph' started by AidensAssets, Jun 22, 2022.

  1. AidensAssets

    AidensAssets

    Joined:
    Feb 10, 2021
    Posts:
    5
    I have had this bug that keeps randomly popping up I've searched online but haven't found a way to fix it, so thought I'd come here,

    Cancelling DisplayDialog because it was run from a thread that is not the main thread: Moving file failed Moving Library/ShaderCache/vfx/BlouderStrike919c/02/aa72ad713470af61dea4fd96489bbcf6.bin to Library/ShaderCache/vfx/BlouderStrike919c/00/aa72ad713470af61dea4fd96489bbcf6.bin: The system cannot find
    the file specified.

    This is the full text, it seems to happen when I use a SECOND output particle mesh inside a single VFX Graph, if I ignore this the compiling gets slower and slower sometimes up to 1-2 minutes, I've attached an image of the emitters they're very simple, but I've been asked to have the rocks spawn separate due to a script the dev's are looking to implement, this bug however did occur on a previous effect I was working on and ended up splitting the vfx graph in two separate parts, but I don't like the idea of having 16 separate vfx graphs for a single mesh.
     

    Attached Files:

  2. PaulDemeulenaere

    PaulDemeulenaere

    Unity Technologies

    Joined:
    Sep 29, 2016
    Posts:
    156
    Hello,
    The problem you are describing is probably the issue 1372561, the fix landed in 2022.2.0a3 and 2021.2.14f1.
    Is it consistent with your Unity version ?
     
  3. AidensAssets

    AidensAssets

    Joined:
    Feb 10, 2021
    Posts:
    5
    Hi Paul my apologies, I should've added the version I'm using, I'm using 2021.2.8f1 this is the version our studio is using. I did see the issue tracker so assumed there might be a way to fix it.